test/dummy/log/test.log in markable-0.1.2 vs test/dummy/log/test.log in markable-0.1.3

- old
+ new

@@ -131227,5 +131227,5687 @@ Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "marks"   (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (9.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (16.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id +  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'City' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (16.2ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Car' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :hated], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 06:49:38.908826' + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 06:49:38.911393' +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 06:49:38.948538' +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 06:49:38.957479' +  (0.0ms) SELECT COUNT(*) FROM "marks" +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 06:49:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (25.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:19 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:19 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:19 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.5ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.9ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.8ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'City' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id +SQLite3::SQLException: no such column: marks.hated: SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Car' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id +SQLite3::SQLException: no such column: marks.hated: SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.hated: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:46:20.399073')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:46:20.402067')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:46:20.425864')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = 1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:46:20.436271')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:46:20 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 +  (0.0ms) SELECT COUNT(*) FROM "marks" +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (25.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'City' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id +SQLite3::SQLException: no such column: marks.hated: SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Car' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id +SQLite3::SQLException: no such column: marks.hated: SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:49 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.hated: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:50.201923')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:47:50.205049')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:50.227953')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.1ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:50.238123')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:50 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 +  (0.0ms) SELECT COUNT(*) FROM "marks" +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (24.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = "marks"."favorite" GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'City' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id +SQLite3::SQLException: no such column: marks.hated: SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = "marks"."hated" GROUP BY cities.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Car' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id +SQLite3::SQLException: no such column: marks.hated: SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = "marks"."hated" GROUP BY cars.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) LIMIT 1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.hated: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."hated" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +SQLite3::SQLException: no such column: marks.favorite: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = "marks"."favorite" AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:59.068752')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:47:59.071724')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:59.092879')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:47:59.102645')) +  (0.0ms) SELECT COUNT(*) FROM "marks"  +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:47:59 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 +  (0.0ms) SELECT COUNT(*) FROM "marks" +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (27.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id +  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'City' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Car' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) LIMIT 1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + SQL (0.0ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:41 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:41.981134')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:48:41.983996')) +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:42.006099')) +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:42.015945')) +  (0.0ms) SELECT COUNT(*) FROM "marks" +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:42 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (24.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:57 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.4ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id +  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'City' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Car' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + SQL (0.0ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:58.470054')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 10:48:58.472836')) +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:58.493630')) +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 10:48:58.503835')) +  (0.0ms) SELECT COUNT(*) FROM "marks" +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 10:48:58 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (24.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (1.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id +  (0.1ms) SELECT COUNT(*) AS count_all, foods.id AS foods_id FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) + Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'City' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "City"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + City Load (0.1ms) SELECT "cities".* FROM "cities" INNER JOIN "marks" ON "marks"."markable_id" = "cities"."id" AND "marks"."markable_type" = 'City' WHERE "marks"."mark" = 'hated' GROUP BY cities.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "cars" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Car' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "hated"], ["markable_id", 1], ["markable_type", "Car"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Car Load (0.1ms) SELECT "cars".* FROM "cars" INNER JOIN "marks" ON "marks"."markable_id" = "cars"."id" AND "marks"."markable_type" = 'Car' WHERE "marks"."mark" = 'hated' GROUP BY cars.id +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "Admin"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) LIMIT 1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + SQL (0.0ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food')) +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:40 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + SQL (0.1ms) DELETE FROM "foods" WHERE "foods"."id" = ? [["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "Food1"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "Food2"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "User1"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "marker"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", "markable"], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE (("marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' + SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'User' + SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User')) + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE (("marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User')) +  (0.5ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "hated"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.1ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 4 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:03:41.166472')) + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'hated' AND "marks"."created_at" = '2012-11-06 11:03:41.169211')) +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:03:41.190475')) +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" LIMIT 1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = 1 + SQL (0.0ms) DELETE FROM "foods" WHERE "foods"."id" = 3 +  (0.0ms) SELECT COUNT(*) FROM "marks" + Markable::Mark Load (0.1ms) SELECT "marks".* FROM "marks"  + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + SQL (0.1ms) DELETE FROM "marks" WHERE (("marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."created_at" = '2012-11-06 11:03:41.200092')) +  (0.0ms) SELECT COUNT(*) FROM "marks" +  (0.6ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["name", nil], ["updated_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE (("marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite')) LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 06 Nov 2012 11:03:41 UTC +00:00], ["mark", "favorite"], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  + Markable::Mark Load (0.0ms) SELECT "marks".* FROM "marks" + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 + Food Load (0.0ms) SELECT "foods".* FROM "foods" WHERE "foods"."id" = 3 LIMIT 1 +  (0.0ms) SELECT COUNT(*) FROM "marks"  +  (0.5ms) rollback transaction