test/dummy/log/test.log in markable-0.1.0 vs test/dummy/log/test.log in markable-0.1.1

- old
+ new

@@ -125183,5 +125183,6049 @@  (0.0ms) SAVEPOINT 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