test/dummy/log/test.log in markable-0.0.4 vs test/dummy/log/test.log in markable-0.0.5

- old
+ new

@@ -93642,5 +93642,14159 @@  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (35.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.4ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.3ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (25.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.9ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:14:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (24.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (28.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (174.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (285.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (279.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (302.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:16 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (252.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (154.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (53.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (4.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.9ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (44.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:20:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (17.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (15.4ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:30:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:45 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (1.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (1.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (16.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:33:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (1.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (15.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:37:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:43:31 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (16.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:43:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (1.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (15.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:44:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (9.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (15.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:45:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (1.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (15.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 08:50:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (65.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:02 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.4ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.4ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (16.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 10:35:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (59.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.4ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.4ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.2ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (15.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 27 Feb 2012 04:16:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (17.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:27 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.3ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.3ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.2ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY foods.id + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (9.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (23.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (162.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 09:55:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY foods.id + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.3ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:00:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (9.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (25.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.2ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY foods.id + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (1.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (142.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (77.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (3.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:03:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (1.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.2ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.2ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY foods.id + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (9.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (1.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY foods.id + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:04:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (8.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (1.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY foods.id + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:24 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (1.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY foods.id + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (223.0ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (37.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.3ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:05:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (1.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.2ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY foods.id + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' GROUP BY drinks.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.8ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["name", nil], ["updated_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 12 Mar 2012 10:08:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' GROUP BY foods.id +  (0.6ms) rollback transaction