(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  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (35.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 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 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 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", Fri, 24 Feb 2012 08:14: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 08:14: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 08:14: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14: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 08:14: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 08:14: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) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (25.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:14:46 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", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 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 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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 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 08:14: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", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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' 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 08:14: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' 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 08:14: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 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 08:14: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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 "marks" 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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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 "marks" 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 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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.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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14: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", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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'  (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 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 "marks" 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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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' 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 08:14: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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.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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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 08:14:47 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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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" = '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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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 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 08:14: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 "marks" 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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14: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' 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 08:14: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' 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 08:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14: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.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 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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'  (24.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 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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) rollback transaction  (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 08:20:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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 08:20: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.5ms) rollback transaction  (0.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 08:20:06 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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 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 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 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 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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" = '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 08:20:06 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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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" = '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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.7ms) 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, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 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 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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 08:20: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 08:20: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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'  (28.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 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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 (174.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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 08:20: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.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'  (285.2ms) 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 (279.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (302.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:16 UTC +00:00]]  (0.1ms) 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 08:20: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'  (252.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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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'  (154.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 08:20:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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'  (53.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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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  (4.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 08:20:17 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:17 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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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" = '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 08:20:17 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.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, 24 Feb 2012 08:20: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" = '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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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' 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 08:20: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' 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 08:20: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 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 08:20: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' 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.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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'  (44.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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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) rollback transaction  (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 08:20:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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 (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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 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 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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" = '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 08:20:22 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.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, 24 Feb 2012 08:20: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" = '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 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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", Fri, 24 Feb 2012 08:20: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.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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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'  (17.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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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.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 08:30:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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.5ms) rollback transaction  (0.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 08:30:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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.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 08:30:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30:57 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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.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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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.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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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 08:30: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' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]]  (15.4ms) 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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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 08:30: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.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 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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 08:30: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.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 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30: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, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 "marks" 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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30: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" = '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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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 "marks" 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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30: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 08:30: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 08:30: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.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 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:45 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 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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, 24 Feb 2012 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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, 24 Feb 2012 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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, 24 Feb 2012 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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 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 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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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.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 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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.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 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32: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 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32: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 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.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 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32: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 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 Markable::Mark Exists (0.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 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 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 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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32: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 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 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 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.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 08:32:46 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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' 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 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 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 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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"."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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 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 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 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 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 "marks" 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 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 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 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 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 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 "marks" 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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:32: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 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:32: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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 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) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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 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 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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 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 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.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 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:32: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 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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 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 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 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 "marks" 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 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 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 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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.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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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 08:32: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 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" = '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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32: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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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 "marks" 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 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 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' 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 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' 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 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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 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.4ms) 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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (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 08:33: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" = 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 08:33:20 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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (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 08:33: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.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 08:33:20 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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (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 08:33:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:33: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", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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.5ms) rollback transaction  (0.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 08:33:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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.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 08:33:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 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", Fri, 24 Feb 2012 08:33: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 08:33: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.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, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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 08:33: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 08:33:20 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:33: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, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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 08:33: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."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 08:33: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 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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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"."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 08:33: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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 08:33: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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 08:33: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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 08:33: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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 08:33: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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 08:33: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 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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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 08:33: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:33: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, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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 08:33: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 08:33:20 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33: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, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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 08:33: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33: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, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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 08:33: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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 08:33: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' 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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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 08:33: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."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 08:33: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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" = '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 08:33:20 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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33: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" = '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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33: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 08:33: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' 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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33: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 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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 08:33: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :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 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" 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 (8.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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 08:37: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.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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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 08:37: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.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 08:37:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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.5ms) rollback transaction  (0.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 08:37:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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.0ms) begin transaction  (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 08:37:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:37: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, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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" = 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 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["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" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:37: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 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 08:37: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 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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 08:37: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 08:37: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.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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37: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 08:37: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (15.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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 08:37: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 08:37: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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 08:37: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 08:37: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:37:43 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 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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' 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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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 08:37: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.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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 08:37: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" = '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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37: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 08:37: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' 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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37: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.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 08:37: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.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 08:37: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 08:37: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.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 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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", Fri, 24 Feb 2012 08:43: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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", Fri, 24 Feb 2012 08:43: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", Fri, 24 Feb 2012 08:43: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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.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 08:43:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43: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", Fri, 24 Feb 2012 08:43: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.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, 24 Feb 2012 08:43:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:43: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 08:43:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 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 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.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 08:43: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 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 08:43: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 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 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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' 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 08:43: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' 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 08:43: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 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 08:43: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'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 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 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 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 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 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 08:43: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" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 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 08:43: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'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 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 08:43: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'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 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 08:43: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" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43: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 (16.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:43: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 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 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 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 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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 08:43:32 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 08:43: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" = '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 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 08:43: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43: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' 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 08:43: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 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 08:43: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.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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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 08:44: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'  (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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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.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", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 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 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 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 08:44: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", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 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 08:44: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44: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 Markable::Mark Exists (0.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 08:44: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 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 08:44: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.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 08:44:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44: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 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 08:44: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", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:44:19 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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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.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 08:44: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 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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.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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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 08:44: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 08:44: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.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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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 08:44: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 (15.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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 08:44: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 08:44: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 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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.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 08:44: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 08:44:19 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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 08:44: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 08:44: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.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 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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 08:44: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 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 08:44: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" = '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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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.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 08:44: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, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44: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 08:44: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.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 08:44: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 08:44: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.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 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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 08:45: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" = 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 08:45: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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'  (9.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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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" = 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 08:45: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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) rollback transaction  (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 08:45:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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.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 08:45:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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" = 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 08:45: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", Fri, 24 Feb 2012 08:45: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' 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 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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"."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 08:45: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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 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 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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.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 08:45: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", Fri, 24 Feb 2012 08:45: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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.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 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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' 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 08:45: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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 (15.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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.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 08:45:41 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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.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 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 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 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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.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 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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" = '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 08:45:41 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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45: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" = '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.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 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45: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", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45: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' 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 08:45: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' 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 08:45: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", Fri, 24 Feb 2012 08:45: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.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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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.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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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) rollback transaction  (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 08:50:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50: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", Fri, 24 Feb 2012 08:50: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50: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", Fri, 24 Feb 2012 08:50: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.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 08:50:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50: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", Fri, 24 Feb 2012 08:50: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", Fri, 24 Feb 2012 08:50: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.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 08:50:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50: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", Fri, 24 Feb 2012 08:50: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.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 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:50: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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.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 08:50: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.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 08:50: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 08:50: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 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 08:50: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 08:50: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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 08:50: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.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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (15.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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 08:50: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 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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 08:50:52 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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 08:50: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.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", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50:52 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 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50: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, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:50: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", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:50: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", Fri, 24 Feb 2012 08:50: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' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 08:50: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" = '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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50: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 08:50: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 08:50: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 08:50: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (65.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:02 UTC +00:00]]  (0.1ms) 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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 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.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, 24 Feb 2012 10:35: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" = 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 10:35: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 10:35: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" = 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 10:35: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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.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 10:35:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 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 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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.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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 10:35: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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 Markable::Mark Exists (0.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 10:35: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 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 10:35: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.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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 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 10:35: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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 10:35: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 10:35: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' 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 10:35: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 10:35: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.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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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 10:35: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.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.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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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 10:35: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 10:35: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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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 10:35: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.7ms) 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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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' 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 10:35: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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.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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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 10:35: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 10:35: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.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 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 10:35: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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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 10:35: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 10:35: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.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 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35: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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 10:35: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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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.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, 24 Feb 2012 10:35: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 10:35: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 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT 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 10:35: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" = '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.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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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.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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35: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 10:35: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 10:35: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 10:35: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'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (59.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]]  (0.1ms) 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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 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.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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.2ms) 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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["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' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' 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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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" = 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, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.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.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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 (15.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 27 Feb 2012 04:16: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16:43 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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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' 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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 27 Feb 2012 04:16: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" = '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.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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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' 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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16: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.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, 27 Feb 2012 04:16: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", Mon, 27 Feb 2012 04:16: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (17.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:27 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", Mon, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:27 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' GROUP BY foods.id 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", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.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) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 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", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55: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.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", Mon, 12 Mar 2012 09:55: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.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' GROUP BY drinks.id  (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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY drinks.id  (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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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" = 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", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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.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, 12 Mar 2012 09:55: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.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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 09:55: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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.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' GROUP BY foods.id 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' GROUP BY foods.id  (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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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"."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", Mon, 12 Mar 2012 09:55: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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 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.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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.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' GROUP BY foods.id 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' GROUP BY foods.id 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", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (23.6ms) 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", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 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", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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'  (162.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 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", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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.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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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" = '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", Mon, 12 Mar 2012 09:55:28 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", Mon, 12 Mar 2012 09:55: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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.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' GROUP BY foods.id 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' GROUP BY foods.id  (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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55: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' GROUP BY foods.id 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, 12 Mar 2012 09:55: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, 12 Mar 2012 09:55: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' GROUP BY foods.id  (0.7ms) 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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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.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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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"."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", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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.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", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00:07 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.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.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' GROUP BY foods.id 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' GROUP BY foods.id  (0.8ms) 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", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:00: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:00:07 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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id 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' GROUP BY foods.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 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", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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" = '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", Mon, 12 Mar 2012 10:00:07 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", Mon, 12 Mar 2012 10:00: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.2ms) 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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' GROUP BY foods.id 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' GROUP BY foods.id  (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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00: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' GROUP BY foods.id 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, 12 Mar 2012 10:00: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, 12 Mar 2012 10:00: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' GROUP BY foods.id  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (9.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (25.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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:03: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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 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, 12 Mar 2012 10:03: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.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' GROUP BY drinks.id  (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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 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, 12 Mar 2012 10:03: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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 Markable::Mark Exists (0.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", Mon, 12 Mar 2012 10:03: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 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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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 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, 12 Mar 2012 10:03: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.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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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"."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", Mon, 12 Mar 2012 10:03: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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 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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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'  (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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:03:40 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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id  (0.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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id 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' GROUP BY foods.id  (142.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id  (77.2ms) 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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id  (3.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 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", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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" = '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", Mon, 12 Mar 2012 10:03:40 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", Mon, 12 Mar 2012 10:03: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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.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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03: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' GROUP BY foods.id 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, 12 Mar 2012 10:03: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' GROUP BY foods.id 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, 12 Mar 2012 10:03: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, 12 Mar 2012 10:03: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' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04:13 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, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 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", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 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", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04:13 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, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 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", Mon, 12 Mar 2012 10:04: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 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' GROUP BY drinks.id  (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", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 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, 12 Mar 2012 10:04: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 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' GROUP BY drinks.id  (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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.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", Mon, 12 Mar 2012 10:04:13 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, 12 Mar 2012 10:04: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 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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04: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  (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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:04:13 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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' 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, 12 Mar 2012 10:04: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :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, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 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", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :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, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id  (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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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' GROUP BY foods.id 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, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY foods.id 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' GROUP BY foods.id  (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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY foods.id  (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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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.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' GROUP BY foods.id  (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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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" = '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", Mon, 12 Mar 2012 10:04:14 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", Mon, 12 Mar 2012 10:04: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id 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, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (9.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:04: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" = 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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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" = 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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04: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", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:04:42 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", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id 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, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.7ms) 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", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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"."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", Mon, 12 Mar 2012 10:04: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" = 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, 12 Mar 2012 10:04: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 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", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:42 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", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:04: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 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", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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.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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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.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, 12 Mar 2012 10:04: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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' GROUP BY foods.id 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, 12 Mar 2012 10:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04: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.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' GROUP BY foods.id  (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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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" = '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", Mon, 12 Mar 2012 10:04:42 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", Mon, 12 Mar 2012 10:04: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04: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, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:04: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' GROUP BY foods.id 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, 12 Mar 2012 10:04: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 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, 12 Mar 2012 10:04: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' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05:09 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, 12 Mar 2012 10:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05:09 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, 12 Mar 2012 10:05: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 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, 12 Mar 2012 10:05: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 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, 12 Mar 2012 10:05: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.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", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 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", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id  (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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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.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' GROUP BY foods.id  (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, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Mon, 12 Mar 2012 10:05:09 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", Mon, 12 Mar 2012 10:05: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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' GROUP BY foods.id  (0.6ms) 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", Mon, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 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, 12 Mar 2012 10:05: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 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, 12 Mar 2012 10:05: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.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", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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.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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' 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, 12 Mar 2012 10:05: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' GROUP BY foods.id 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, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' 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, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:05: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (223.0ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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.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' GROUP BY foods.id 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' GROUP BY foods.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (37.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.1ms) 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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:05: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.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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id 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, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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.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' GROUP BY foods.id  (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, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Mon, 12 Mar 2012 10:05:25 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", Mon, 12 Mar 2012 10:05: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 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, 12 Mar 2012 10:05: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05: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' GROUP BY foods.id  (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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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.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' GROUP BY drinks.id  (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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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' GROUP BY drinks.id  (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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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.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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 12 Mar 2012 10:08: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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 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, 12 Mar 2012 10:08: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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"."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", Mon, 12 Mar 2012 10:08: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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 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.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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :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, 12 Mar 2012 10:08: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 12 Mar 2012 10:08: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:08: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 12 Mar 2012 10:08: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :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, 12 Mar 2012 10:08: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.2ms) RELEASE SAVEPOINT active_record_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, 12 Mar 2012 10:08: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.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' GROUP BY foods.id  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) 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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :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, 12 Mar 2012 10:08: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :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, 12 Mar 2012 10:08: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id 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' GROUP BY foods.id  (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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id 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, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :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, 12 Mar 2012 10:08: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.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' GROUP BY foods.id  (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, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :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, 12 Mar 2012 10:08: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.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' GROUP BY foods.id  (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, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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" = '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", Mon, 12 Mar 2012 10:08:01 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", Mon, 12 Mar 2012 10:08: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 12 Mar 2012 10:08: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' GROUP BY foods.id 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, 12 Mar 2012 10:08: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", Mon, 12 Mar 2012 10:08: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (58.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48:31 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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48:31 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:48:31 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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48: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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48: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) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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"."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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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'  (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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (15.9ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:31 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:48: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48:32 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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:32 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48:44 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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48:44 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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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'  (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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (15.7ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:48: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00]]  (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' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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", Tue, 13 Mar 2012 04:48:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:48: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' GROUP BY foods.id  (0.4ms) 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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:59:28 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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 04:59:28 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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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"."mark" = 'favorite' LIMIT 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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59:28 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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00]]  (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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:59: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:59:28 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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00]]  (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' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:28 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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' GROUP BY foods.id  (0.3ms) 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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59:39 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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59:39 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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04: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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:59:39 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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04: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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 04:59:39 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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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'  (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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59:39 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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 04:59:39 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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 04:59:39 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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04:59: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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", Tue, 13 Mar 2012 04:59:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 04: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' GROUP BY foods.id  (0.4ms) 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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (35.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY drinks.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:26 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:27 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", Tue, 13 Mar 2012 05:00: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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 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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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" = '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", Tue, 13 Mar 2012 05:00:27 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", Tue, 13 Mar 2012 05:00: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:27 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 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", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 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", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05: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 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05: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 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05: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 Markable::Mark Exists (0.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", Tue, 13 Mar 2012 05: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 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", Tue, 13 Mar 2012 05: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05: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 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", Tue, 13 Mar 2012 05: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  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 05: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:00:56 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:56 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:00:56 UTC +00:00]]  (0.0ms) 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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:00:57 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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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  (15.8ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:00: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", Tue, 13 Mar 2012 05:00: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:15 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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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" = 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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY drinks.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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.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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:02: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:15 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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02:15 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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 (15.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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" = '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", Tue, 13 Mar 2012 05:02:15 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", Tue, 13 Mar 2012 05:02: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:15 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:58 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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 13 Mar 2012 05:02: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" = 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", Tue, 13 Mar 2012 05:02:58 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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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.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", Tue, 13 Mar 2012 05:02:58 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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY drinks.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:02: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:58 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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:02: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:02: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:02:58 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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 (15.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02:58 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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02:58 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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:02: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", Tue, 13 Mar 2012 05:02: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' GROUP BY foods.id  (0.8ms) 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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (34.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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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.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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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.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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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.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.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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id 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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:05:50 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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:05:50 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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id 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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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.2ms) 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:05:50 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:05: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", Tue, 13 Mar 2012 05:05: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:00 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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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.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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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  (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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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.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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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"."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", Tue, 13 Mar 2012 05:07: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:07:00 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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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.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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07:00 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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:07: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00]]  (0.1ms) 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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:07:00 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:07: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:11 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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:07:11 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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07:11 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", Tue, 13 Mar 2012 05:07: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.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' GROUP BY drinks.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07:11 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", Tue, 13 Mar 2012 05:07: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' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.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", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' 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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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.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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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.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' GROUP BY foods.id 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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:07: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:07:11 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = '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.0ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:07: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Tue, 13 Mar 2012 05:07:11 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", Tue, 13 Mar 2012 05:07: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id 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' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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", Tue, 13 Mar 2012 05:07:11 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:07: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 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", Tue, 13 Mar 2012 05:07: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' GROUP BY foods.id  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (51.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:19 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", Tue, 13 Mar 2012 05:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 13 Mar 2012 05:46: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" = 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", Tue, 13 Mar 2012 05:46:20 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46: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" = 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", Tue, 13 Mar 2012 05:46:20 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 13 Mar 2012 05:46:20 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:46: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46: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 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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"."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", Tue, 13 Mar 2012 05:46: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:46: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 13 Mar 2012 05:46: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:46:20 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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.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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 13 Mar 2012 05:46:20 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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.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", Tue, 13 Mar 2012 05:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:46:20 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.1ms) 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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:46:20 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["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" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["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" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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" = '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", Tue, 13 Mar 2012 05:46:20 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", Tue, 13 Mar 2012 05:46: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46: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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Tue, 13 Mar 2012 05:46: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :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", Tue, 13 Mar 2012 05:46:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (26.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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' GROUP BY foods.id 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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 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, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :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, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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 (14.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07: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.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' GROUP BY drinks.id  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07: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.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' GROUP BY drinks.id  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:07: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 Markable::Mark Exists (0.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", Wed, 14 Mar 2012 07:07: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 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, 14 Mar 2012 07:07: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07: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 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", Wed, 14 Mar 2012 07:07: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  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:07: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:07: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:07: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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' GROUP BY foods.id  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:07:56 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", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food 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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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, 14 Mar 2012 07:07:56 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:07: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" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :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, 14 Mar 2012 07:07:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY drinks.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY drinks.id  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:08:14 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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.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' GROUP BY foods.id Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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 (15.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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  (29.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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:08:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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.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, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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 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.4ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.6ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id 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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id  (0.4ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:08: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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.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' GROUP BY foods.id User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08:14 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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.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' GROUP BY foods.id 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' GROUP BY foods.id  (0.4ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id 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, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08:14 UTC +00:00]]  (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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id  (0.6ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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" = '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", Wed, 14 Mar 2012 07:08:14 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", Wed, 14 Mar 2012 07:08: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" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id 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' GROUP BY foods.id  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id 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, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id  (0.6ms) 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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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.3ms) 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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:08: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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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) 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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:08:49 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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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"."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, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["mark", :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, 14 Mar 2012 07:08: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["mark", :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, 14 Mar 2012 07:08: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.4ms) rollback transaction  (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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08: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.5ms) rollback transaction  (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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:08:49 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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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.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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["mark", :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, 14 Mar 2012 07:08: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:08: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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.4ms) rollback transaction  (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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' 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, 14 Mar 2012 07:08: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["mark", :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, 14 Mar 2012 07:08: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' 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.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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' 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, 14 Mar 2012 07:08: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["mark", :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, 14 Mar 2012 07:08: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' AND "marks"."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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' 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, 14 Mar 2012 07:08: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["mark", :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, 14 Mar 2012 07:08: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' AND "marks"."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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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" = '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", Wed, 14 Mar 2012 07:08:49 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", Wed, 14 Mar 2012 07:08: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" = '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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08: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' 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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08:49 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, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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", Wed, 14 Mar 2012 07:08:49 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:08: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' 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, 14 Mar 2012 07:08: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' 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, 14 Mar 2012 07:08:49 UTC +00:00], ["mark", :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, 14 Mar 2012 07:08: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' 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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10:12 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, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10:12 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, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:12 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, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.1ms) 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, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:10:12 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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:10: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:12 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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :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.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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:10: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:10: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:12 UTC +00:00], ["mark", :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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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.5ms) rollback transaction  (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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:13 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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.4ms) rollback transaction  (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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:10:13 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", Wed, 14 Mar 2012 07:10: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" = '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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:10:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" 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.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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.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", Wed, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (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.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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10:22 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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:22 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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.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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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.6ms) rollback transaction  (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, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:10:23 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", Wed, 14 Mar 2012 07:10: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" = '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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:23 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10:39 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, 14 Mar 2012 07:10: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10:39 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, 14 Mar 2012 07:10: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:39 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, 14 Mar 2012 07:10: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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:39 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, 14 Mar 2012 07:10: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:10:39 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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 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", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_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", Wed, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.6ms) rollback transaction  (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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10:39 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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.6ms) rollback transaction  (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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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'  (41.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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:10:39 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", Wed, 14 Mar 2012 07:10: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" = '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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:39 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:58 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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:10: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" = 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, 14 Mar 2012 07:10:58 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, 14 Mar 2012 07:10: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:58 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, 14 Mar 2012 07:10: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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) rollback 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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 Markable::Mark Exists (0.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, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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"."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, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.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"."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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (15.6ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.6ms) rollback transaction  (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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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' 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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:10: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.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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.6ms) rollback transaction  (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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:10: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10:59 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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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.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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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 (116.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10: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", Wed, 14 Mar 2012 07:10: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'  (361.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (204.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (188.9ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:10:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:11: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 (206.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:11: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' 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'  (23.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (18.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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' 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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:11: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:11:00 UTC +00:00], ["mark", :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, 14 Mar 2012 07:11: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (166.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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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' 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, 14 Mar 2012 07:11: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:11:00 UTC +00:00], ["mark", :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, 14 Mar 2012 07:11: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (21.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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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" = '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", Wed, 14 Mar 2012 07:11:00 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.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:11: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" = '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", Wed, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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", Wed, 14 Mar 2012 07:11: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", Wed, 14 Mar 2012 07:11: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' 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", Wed, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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, 14 Mar 2012 07:11:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:11: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' 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, 14 Mar 2012 07:11: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' 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, 14 Mar 2012 07:11:00 UTC +00:00], ["mark", :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, 14 Mar 2012 07:11: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' 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 (58.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 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' GROUP BY foods.id Markable::Mark Exists (0.2ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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 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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (15.4ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:13:44 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, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:13:44 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, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.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, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:13: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.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:13: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' 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, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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.6ms) rollback transaction  (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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:13:44 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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:13:44 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", Wed, 14 Mar 2012 07:13: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" = '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.6ms) rollback transaction  (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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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 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, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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", Wed, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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, 14 Mar 2012 07:13:44 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:13: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:13: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' 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, 14 Mar 2012 07:13: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:13: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:14: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 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, 14 Mar 2012 07:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14: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 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, 14 Mar 2012 07:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14: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 Markable::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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:14: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:14:04 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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:14:04 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, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:14:04 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, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:14:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14: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 Markable::Mark Exists (0.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, 14 Mar 2012 07:14: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 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, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:14:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14: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 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, 14 Mar 2012 07:14: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", Wed, 14 Mar 2012 07:14:04 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:14:04 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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:05 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.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."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, 14 Mar 2012 07:14:05 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:05 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", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:14:05 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:14:05 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:14:05 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:14:05 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) 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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:14:05 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", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE 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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."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", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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' 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 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", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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' 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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' 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:14:05 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", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food 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", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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, 14 Mar 2012 07:14:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:14: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' 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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :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, 14 Mar 2012 07:14:05 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" 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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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 Markable::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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (31.8ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.1ms) 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, 14 Mar 2012 07:16: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:16:04 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 (28.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 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.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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.0ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.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, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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'  (64.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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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  (22.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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.0ms) 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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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.6ms) rollback transaction  (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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 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", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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.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.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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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'  (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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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.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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:16:04 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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 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, 14 Mar 2012 07:16: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.6ms) rollback transaction  (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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:16:04 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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' 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, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 (16.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:16:04 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", Wed, 14 Mar 2012 07:16: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" = '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.4ms) rollback transaction  (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, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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", Wed, 14 Mar 2012 07:16:04 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:16: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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' 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, 14 Mar 2012 07:16: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:16: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT distinct FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' SQLite3::SQLException: near "FROM": syntax error: SELECT distinct FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (1.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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT distinct FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' SQLite3::SQLException: near "FROM": syntax error: SELECT distinct FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:21: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21: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 distinct FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' SQLite3::SQLException: near "FROM": syntax error: SELECT distinct 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) rollback transaction  (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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.5ms) rollback transaction  (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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.5ms) rollback transaction  (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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:21: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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 (15.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["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" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:21: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.6ms) rollback transaction  (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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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 "marks" 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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:21: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" = '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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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 "marks" 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, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21:57 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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", Wed, 14 Mar 2012 07:21: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT distinct * 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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.2ms) SELECT distinct * 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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT distinct * 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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.2ms) SELECT distinct * 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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.2ms) SELECT distinct * FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.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", Wed, 14 Mar 2012 07:22: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.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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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.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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:06 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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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 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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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.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", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22:06 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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:07 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:07 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:22: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.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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'  (109.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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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'  (78.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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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'  (6.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", Wed, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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" = '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", Wed, 14 Mar 2012 07:22:07 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", Wed, 14 Mar 2012 07:22: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" = '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", Wed, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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, 14 Mar 2012 07:22: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:46 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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT distinct id 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, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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 distinct id 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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT distinct id 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, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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 distinct id 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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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 distinct id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (0.1ms) SELECT COUNT(distinct id) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (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, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:22:46 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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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.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, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:46 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 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.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.6ms) rollback transaction  (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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 "marks" 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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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' 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, 14 Mar 2012 07:22: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 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, 14 Mar 2012 07:22: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.6ms) rollback transaction  (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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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' 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, 14 Mar 2012 07:22: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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.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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 "marks" 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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:22: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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.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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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.6ms) rollback transaction  (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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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'  (0.6ms) rollback transaction  (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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.1ms) 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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 "marks" 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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:47 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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:22: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:22:47 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", Wed, 14 Mar 2012 07:22: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" = '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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:22: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 "marks" 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, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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", Wed, 14 Mar 2012 07:22:47 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:22: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' 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, 14 Mar 2012 07:22: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' 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, 14 Mar 2012 07:22: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 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, 14 Mar 2012 07:22: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (12.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:53 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:53 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, 14 Mar 2012 07:29:53 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:53 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:53 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:53 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (24.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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (15.8ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.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, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29: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.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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29: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  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:29: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."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, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 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", Wed, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :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, 14 Mar 2012 07:29: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:29: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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, 14 Mar 2012 07:29: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :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, 14 Mar 2012 07:29: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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.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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:29:54 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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 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, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :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, 14 Mar 2012 07:29: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' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:29: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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' 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, 14 Mar 2012 07:29: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' 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, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :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, 14 Mar 2012 07:29: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' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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' 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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' 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, 14 Mar 2012 07:29: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' 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, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :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, 14 Mar 2012 07:29: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' AND "marks"."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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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' 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, 14 Mar 2012 07:29: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :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, 14 Mar 2012 07:29: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' AND "marks"."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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:29:54 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", Wed, 14 Mar 2012 07:29: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" = '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.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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29: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' 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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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, 14 Mar 2012 07:29:54 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:29: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' 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, 14 Mar 2012 07:29: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:29:54 UTC +00:00], ["mark", :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, 14 Mar 2012 07:29: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' 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 (315.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (6.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:12 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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:30: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 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, 14 Mar 2012 07:30:12 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, 14 Mar 2012 07:30:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (111.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, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 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, 14 Mar 2012 07:30:12 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, 14 Mar 2012 07:30:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (77.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, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["mark", :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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (3.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) SAVEPOINT active_record_1 SQL (12.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (192.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:30:12 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 (88.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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'  (4.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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:30:13 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, 14 Mar 2012 07:30: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 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (297.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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.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, 14 Mar 2012 07:30:13 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, 14 Mar 2012 07:30: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 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" 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'  (64.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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 14 Mar 2012 07:30: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 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, 14 Mar 2012 07:30: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  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:30: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 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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 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.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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:30: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 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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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' 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, 14 Mar 2012 07:30: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = '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, 14 Mar 2012 07:30: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 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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:30: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 14 Mar 2012 07:30: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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.5ms) rollback transaction  (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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 14 Mar 2012 07:30:13 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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:30: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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' 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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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' 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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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' 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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Wed, 14 Mar 2012 07:30:13 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", Wed, 14 Mar 2012 07:30: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" = '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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Mar 2012 07:30: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' 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, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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", Wed, 14 Mar 2012 07:30:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 14 Mar 2012 07:30: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' 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, 14 Mar 2012 07:30: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' 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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :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, 14 Mar 2012 07:30:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" 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.1ms) SAVEPOINT active_record_1 SQL (10.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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.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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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.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", Tue, 03 Apr 2012 03:55: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.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 03 Apr 2012 03:55: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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.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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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.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.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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 03 Apr 2012 03:55: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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.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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 03 Apr 2012 03:55: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 03 Apr 2012 03:55:48 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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 03 Apr 2012 03:55:48 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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55: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" = '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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55:48 UTC +00:00], ["name", nil], ["updated_at", Tue, 03 Apr 2012 03:55: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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", Tue, 03 Apr 2012 03:55: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (11.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:15 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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:15 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' GROUP BY foods.id Markable::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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" 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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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" = 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, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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 (16.0ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 04 Jun 2012 00:46: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00]]  (0.0ms) 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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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.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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:15 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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.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, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:46: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46:15 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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:15 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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:46: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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 (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.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, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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" = '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", Mon, 04 Jun 2012 00:46:15 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", Mon, 04 Jun 2012 00:46: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" = '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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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 (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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" = 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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:46:15.695470' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-06-04 00:46:15.715198'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:46:15.734674'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:46:15.742795'  (0.0ms) SELECT COUNT(*) FROM "marks"  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.3ms) 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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 04 Jun 2012 00:46: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" = 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, 04 Jun 2012 00:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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" = 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, 04 Jun 2012 00:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (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" = 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, 04 Jun 2012 00:46: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 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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 04 Jun 2012 00:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:42 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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 04 Jun 2012 00:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46: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.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 00:46: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' 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, 04 Jun 2012 00:46: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 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, 04 Jun 2012 00:46: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.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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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"."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", Mon, 04 Jun 2012 00:46: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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 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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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.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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:46: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:46:43 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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:46: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.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, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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' 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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46:43 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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.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, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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" = '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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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' 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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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.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' 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, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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" = 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", Mon, 04 Jun 2012 00:46: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 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:46:43.259280' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-06-04 00:46:43.278257'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:46:43.296494'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:46:43.304594'  (0.0ms) SELECT COUNT(*) FROM "marks"  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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, 04 Jun 2012 00:46:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:46: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", Mon, 04 Jun 2012 00:46: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.3ms) rollback transaction  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20120214103734) Migrating to CreateAdmins (20120214103741) Migrating to CreateFoods (20120214105411) Migrating to CreateDrinks (20120214105421) Migrating to MarkableMigration (20120214114957) Migrating to CreateCars (20120520101223)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120520101223')  (1.2ms) commit transaction Migrating to CreateCities (20120520101231)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "cities" ("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 ('20120520101231')  (1.1ms) 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("cars")  (0.0ms) PRAGMA index_list("cities")  (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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 04 Jun 2012 00:47: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 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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:47:11 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, 04 Jun 2012 00:47: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:47:11 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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:47:11 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, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.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, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 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" = 'City' 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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 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" = 'Car' 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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (0.5ms) rollback transaction  (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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:47:11 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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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.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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' 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, 04 Jun 2012 00:47: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' 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, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 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", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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.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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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.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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:47:11 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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:47: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:47: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:47:11 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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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'  (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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:47:11 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:47: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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.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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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' 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, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Mon, 04 Jun 2012 00:47:11 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", Mon, 04 Jun 2012 00:47: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" = '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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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' 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, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 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, 04 Jun 2012 00:47: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 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" = '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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:47:11.842031' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-06-04 00:47:11.844460'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:47: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:47:11.862580'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 00:47: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 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.1ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:47:11.872525'  (0.0ms) SELECT COUNT(*) FROM "marks"  (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, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47: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", Mon, 04 Jun 2012 00:47:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:47:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 00:47: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.4ms) 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 04 Jun 2012 00:54: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 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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:54: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 'City' 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 'Car' 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 00:54:02 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 00:54: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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"."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", Mon, 04 Jun 2012 00:54: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:54:02 UTC +00: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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:54: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 00:54:02 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 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, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00]]  (0.0ms) 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:54: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 00:54: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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' 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, 04 Jun 2012 00:54: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 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, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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' 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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' 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, 04 Jun 2012 00:54: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 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", Mon, 04 Jun 2012 00:54:02 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", Mon, 04 Jun 2012 00:54: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" = '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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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' 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54:02 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, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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' 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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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' 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, 04 Jun 2012 00:54: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:54:02.959699' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-06-04 00:54:02.962242'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:54:02.980469'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 00:54:02.988601'  (0.0ms) SELECT COUNT(*) FROM "marks"  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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", Mon, 04 Jun 2012 00:54:02 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 00:54: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 00:54: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02:11 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, 04 Jun 2012 01:02: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:02:11 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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02:11 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, 04 Jun 2012 01:02: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.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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.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, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 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" = 'City' 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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 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" = 'Car' 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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (16.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' 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, 04 Jun 2012 01:02: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' 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, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT 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", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 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.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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' 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, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02:11 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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Mon, 04 Jun 2012 01:02: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02:11 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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02:11 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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:02: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 01:02: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Mon, 04 Jun 2012 01:02:11 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", Mon, 04 Jun 2012 01:02: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" = '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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' 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, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.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, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 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" = '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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:02:11.819689' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-06-04 01:02:11.822217'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 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, 04 Jun 2012 01:02: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:02:11.840321'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:02:11.848568'  (0.0ms) SELECT COUNT(*) FROM "marks"  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:11 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_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 (1.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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 (1.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 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", Mon, 04 Jun 2012 01:02: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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 (1.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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 (1.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 (1.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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" = 'City' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (0.4ms) 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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" = 'Car' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (17.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02: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" = 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", Mon, 04 Jun 2012 01:02: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 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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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"."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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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" = 2 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", Mon, 04 Jun 2012 01:02: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 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.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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.2ms) 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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:02: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 (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:02: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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.2ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 01:02: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 (1.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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 (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 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", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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 (1.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 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", Mon, 04 Jun 2012 01:02: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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 (1.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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" = '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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:02:40.948192' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-06-04 01:02:40.953379'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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 (1.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 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", Mon, 04 Jun 2012 01:02: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:02:40.977859'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:02:40.992300'  (0.0ms) SELECT COUNT(*) FROM "marks"  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02:40 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", Mon, 04 Jun 2012 01:02:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:02: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.8ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:02: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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, 04 Jun 2012 01:06: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" = 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, 04 Jun 2012 01:06: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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" = 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, 04 Jun 2012 01:06: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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, 04 Jun 2012 01:06: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:06: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:06: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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 Markable::Mark Exists (0.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, 04 Jun 2012 01:06: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 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, 04 Jun 2012 01:06: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.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, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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" = 'City' 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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (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, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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" = 'Car' 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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (16.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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 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, 04 Jun 2012 01:06: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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' 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, 04 Jun 2012 01:06: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' 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, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 01:06: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) 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, 04 Jun 2012 01:06: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:06: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Mon, 04 Jun 2012 01:06: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.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 04 Jun 2012 01:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.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, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:06: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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, 04 Jun 2012 01:06: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.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.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, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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" = '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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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" = 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", Mon, 04 Jun 2012 01:06: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 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:06:03.881630' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-06-04 01:06:03.884275'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:06:03.903195'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-06-04 01:06:03.911846'  (0.0ms) SELECT COUNT(*) FROM "marks"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06:03 UTC +00:00], ["name", nil], ["updated_at", Mon, 04 Jun 2012 01:06: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", Mon, 04 Jun 2012 01:06: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.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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' GROUP BY foods.id 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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 06 Nov 2012 06:49: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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" = 'City' 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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.2ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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" = 'Car' 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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 06:49: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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.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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 06:49: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 06:49: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49:38 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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 06:49: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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" = '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", Tue, 06 Nov 2012 06:49:38 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", Tue, 06 Nov 2012 06:49: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" = '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.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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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.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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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" = 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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 06:49:38.908826' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 06:49:38.911393'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 06:49:38.948538'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 06:49:38.957479'  (0.0ms) SELECT COUNT(*) FROM "marks"  (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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49: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", Tue, 06 Nov 2012 06:49: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (25.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:19 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", Tue, 06 Nov 2012 10:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:19 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.5ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 06 Nov 2012 10:46: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 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (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.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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" = 'City' 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id SQLite3::SQLException: no such column: marks.hated: SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id  (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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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" = 'Car' 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id SQLite3::SQLException: no such column: marks.hated: SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id  (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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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.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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) SQLite3::SQLException: no such column: marks.favorite: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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"."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", Tue, 06 Nov 2012 10:46: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) SQLite3::SQLException: no such column: marks.favorite: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) SQLite3::SQLException: no such column: marks.favorite: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:46:20 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:46: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 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.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:46:20 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:46: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'))  (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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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" = '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", Tue, 06 Nov 2012 10:46:20 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", Tue, 06 Nov 2012 10:46: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" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.hated: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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 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" = '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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:46:20.399073')) SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:46:20.402067'))  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:46:20.425864'))  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:46:20.436271'))  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46: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", Tue, 06 Nov 2012 10:46: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  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (25.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]]  (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" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 06 Nov 2012 10:47: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = 'City' 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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id SQLite3::SQLException: no such column: marks.hated: SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id  (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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = 'Car' 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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id SQLite3::SQLException: no such column: marks.hated: SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id  (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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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.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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:47: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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"."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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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.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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:47: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:50 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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:47: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]]  (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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'))  (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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'))  (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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.hated: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = 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", Tue, 06 Nov 2012 10:47: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 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:50.201923')) SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:47:50.205049'))  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:50.227953'))  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.1ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:50.238123'))  (0.0ms) SELECT COUNT(*) FROM "marks"   (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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"  (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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 06 Nov 2012 10:47: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" GROUP BY foods.id SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id  (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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = 'City' 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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id SQLite3::SQLException: no such column: marks.hated: SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id  (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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = 'Car' 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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id SQLite3::SQLException: no such column: marks.hated: SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id  (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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:47: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 06 Nov 2012 10:47: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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.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.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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 06 Nov 2012 10:47: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 06 Nov 2012 10:47: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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.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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:47: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:58 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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:58 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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:47: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'))  (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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'))  (0.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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.hated: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = 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", Tue, 06 Nov 2012 10:47: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 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:59.068752')) SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:47:59.071724'))  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:59.092879'))  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:59.102645'))  (0.0ms) SELECT COUNT(*) FROM "marks"   (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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47: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", Tue, 06 Nov 2012 10:47: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  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (27.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 06 Nov 2012 10:48: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" = 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", Tue, 06 Nov 2012 10:48: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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" = 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", Tue, 06 Nov 2012 10:48: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 06 Nov 2012 10:48: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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" = 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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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" = 'City' 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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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" = 'Car' 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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:48: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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')) 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", Tue, 06 Nov 2012 10:48: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')) 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", Tue, 06 Nov 2012 10:48: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.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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"."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", Tue, 06 Nov 2012 10:48: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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 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.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.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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:41 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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:48: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:48: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 06 Nov 2012 10:48: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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" = '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", Tue, 06 Nov 2012 10:48:41 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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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" = '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.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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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')) 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", Tue, 06 Nov 2012 10:48: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')) 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", Tue, 06 Nov 2012 10:48: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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" = '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", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:41.981134')) SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:48:41.983996'))  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" 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", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:42.006099'))  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:42.015945'))  (0.0ms) SELECT COUNT(*) FROM "marks"  (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", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.4ms) 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", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 06 Nov 2012 10:48: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" = 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", Tue, 06 Nov 2012 10:48:58 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.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 (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id 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", Tue, 06 Nov 2012 10:48: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" = 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", Tue, 06 Nov 2012 10:48:58 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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) 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' GROUP BY foods.id 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.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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 06 Nov 2012 10:48: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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" = 'City' 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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" = 'Car' 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 06 Nov 2012 10:48: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."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", Tue, 06 Nov 2012 10:48: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.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.6ms) 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 06 Nov 2012 10:48: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = '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", Tue, 06 Nov 2012 10:48: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'))  (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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "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", Tue, 06 Nov 2012 10:48: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = '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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:58 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:48: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:48: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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" = '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.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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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.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" = '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", Tue, 06 Nov 2012 10:48: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 SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:58.470054')) SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:48:58.472836'))  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:58.493630'))  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:58.503835'))  (0.0ms) SELECT COUNT(*) FROM "marks"  (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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48: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", Tue, 06 Nov 2012 10:48: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.5ms) 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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "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.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 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", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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 Markable::Mark Exists (0.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", Tue, 06 Nov 2012 11:03: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 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", Tue, 06 Nov 2012 11:03: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.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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 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" = 'City' 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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 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" = 'Car' 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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03: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" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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 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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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"."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", Tue, 06 Nov 2012 11:03: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" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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 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.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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03:40 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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 11:03: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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.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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:03: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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 11:03: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  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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')) 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", Tue, 06 Nov 2012 11:03: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')) 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", Tue, 06 Nov 2012 11:03: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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" = '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", Tue, 06 Nov 2012 11:03:41 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", Tue, 06 Nov 2012 11:03: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" = '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.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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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')) Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.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" = '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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:03:41.166472')) SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 11:03:41.169211'))  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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.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", Tue, 06 Nov 2012 11:03: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:03:41.190475'))  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:03:41.200092'))  (0.0ms) SELECT COUNT(*) FROM "marks"  (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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03: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", Tue, 06 Nov 2012 11:03: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' 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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' GROUP BY foods.id Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) 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.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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' GROUP BY foods.id Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::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" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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' GROUP BY foods.id  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id  (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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:04:36 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", Tue, 06 Nov 2012 11:04: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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:04:36 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", Tue, 06 Nov 2012 11:04: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.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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.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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 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" = 'City' 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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id  (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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 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" = 'Car' 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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id  (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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 11:04: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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.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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' 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", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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' 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.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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:04: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:04:36 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", Tue, 06 Nov 2012 11:04: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.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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 11:04: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:04:36 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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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  (16.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:36 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:04: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 11:04: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  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Tue, 06 Nov 2012 11:04:37 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", Tue, 06 Nov 2012 11:04: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" = '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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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.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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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' 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", Tue, 06 Nov 2012 11:04: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 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", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:04:37.102236' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 11:04:37.104885'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:04:37.140034'  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" 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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3  (0.0ms) SELECT COUNT(*) FROM "marks" Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:04:37.148193'  (0.0ms) SELECT COUNT(*) FROM "marks"  (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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04: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", Tue, 06 Nov 2012 11:04:37 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:04:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:04: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  (0.0ms) SELECT COUNT(*) FROM "marks"  Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.5ms) rollback transaction