test/dummy/log/development.log in markable-0.0.6 vs test/dummy/log/development.log in markable-0.0.7
- old
+ new
@@ -130,5 +130,11 @@
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120214105411')
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120214105421')[0m
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+SQLite3::SQLException: near "DISTINCT": syntax error: SELECT distinct *, DISTINCT * FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'
+SQLite3::SQLException: near "DISTINCT": syntax error: SELECT distinct *, DISTINCT * FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'
+SQLite3::SQLException: no such column: user.id: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id, user.id
+SQLite3::SQLException: no such column: user_id: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id, user_id
+SQLite3::SQLException: no such column: users.id: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id, users.id
+SQLite3::SQLException: no such column: marks.id: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' GROUP BY foods.id, marks.id