(0.1ms) select sqlite_version(*)  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20120214103734)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214103734')  (1.2ms) commit transaction Migrating to CreateAdmins (20120214103741)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214103741')  (1.7ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("admins")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20120214103734) Migrating to CreateAdmins (20120214103741) Migrating to CreateFoods (20120214105411)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "foods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214105411')  (2.1ms) commit transaction Migrating to CreateDrinks (20120214105421)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "drinks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214105421')  (0.9ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("admins")  (0.0ms) PRAGMA index_list("drinks")  (0.0ms) PRAGMA index_list("foods")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20120214103734) Migrating to CreateAdmins (20120214103741) Migrating to CreateFoods (20120214105411) Migrating to CreateDrinks (20120214105421) Migrating to MarkableMigration (20120214114855)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "marks" ("marker_id" integer, "marker_type" varchar(255), "markable_id" integer, "markable_type" varchar(255), "mark" varchar(128), "created_at" datetime)  (31.6ms) rollback transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20120214103734) Migrating to CreateAdmins (20120214103741) Migrating to CreateFoods (20120214105411) Migrating to CreateDrinks (20120214105421) Migrating to MarkableMigration (20120214114957)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "marks" ("marker_id" integer, "marker_type" varchar(255), "markable_id" integer, "markable_type" varchar(255), "mark" varchar(128), "created_at" datetime)  (0.0ms) PRAGMA index_list("marks")  (0.1ms) CREATE INDEX "index_marks_on_markable_id_and_markable_type_and_mark" ON "marks" ("markable_id", "markable_type", "mark")  (0.0ms) PRAGMA index_list("marks")  (0.0ms) PRAGMA index_info('index_marks_on_markable_id_and_markable_type_and_mark')  (0.1ms) CREATE INDEX "index_marks_on_marker_id_and_marker_type_and_mark" ON "marks" ("marker_id", "marker_type", "mark")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214114957')  (2.1ms) commit transaction  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("admins")  (0.0ms) PRAGMA index_list("drinks")  (0.0ms) PRAGMA index_list("foods")  (0.0ms) PRAGMA index_list("marks")  (0.0ms) PRAGMA index_info('index_marks_on_marker_id_and_marker_type_and_mark')  (0.0ms) PRAGMA index_info('index_marks_on_markable_id_and_markable_type_and_mark')  (0.0ms) PRAGMA index_list("users") SQLite3::SQLException: no such column: conditions.markable: SELECT 1 FROM "marks" WHERE "conditions"."markable" = 1 AND "conditions"."marker" = 1 AND "conditions"."mark" = 'favorite' LIMIT 1 SQLite3::SQLException: no such column: conditions.markable_id: SELECT 1 FROM "marks" WHERE "conditions"."markable_id" = 1 AND "conditions"."markable_type" = 'Food' AND "conditions"."marker_id" = 1 AND "conditions"."marker_type" = 'User' AND "conditions"."mark" = 'favorite' LIMIT 1 SQLite3::SQLException: no such column: marks.name: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."name" = '' SQLite3::SQLException: no such column: marks.name: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."name" = '' SQLite3::SQLException: no such column: marks.markable: SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Admin' AND "foods"."id" = 2  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20120214103734) Migrating to CreateAdmins (20120214103741) Migrating to CreateFoods (20120214105411) Migrating to CreateDrinks (20120214105421) Migrating to MarkableMigration (20120214114957)  (0.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("admins")  (0.0ms) PRAGMA index_list("drinks")  (0.0ms) PRAGMA index_list("foods")  (0.0ms) PRAGMA index_list("marks")  (0.1ms) PRAGMA index_info('index_marks_on_marker_id_and_marker_type_and_mark')  (0.0ms) PRAGMA index_info('index_marks_on_markable_id_and_markable_type_and_mark')  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20120214103734) Migrating to CreateAdmins (20120214103741) Migrating to CreateFoods (20120214105411) Migrating to CreateDrinks (20120214105421) Migrating to MarkableMigration (20120214114957)  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("admins")  (0.0ms) PRAGMA index_list("drinks")  (0.0ms) PRAGMA index_list("foods")  (0.0ms) PRAGMA index_list("marks")  (0.1ms) PRAGMA index_info('index_marks_on_marker_id_and_marker_type_and_mark')  (0.0ms) PRAGMA index_info('index_marks_on_markable_id_and_markable_type_and_mark')  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (2.5ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.5ms) CREATE TABLE "drinks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.5ms) CREATE TABLE "foods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.3ms) CREATE TABLE "marks" ("marker_id" integer, "marker_type" varchar(255), "markable_id" integer, "markable_type" varchar(255), "mark" varchar(128), "created_at" datetime)  (0.0ms) PRAGMA index_list("marks")  (1.0ms) CREATE INDEX "index_marks_on_markable_id_and_markable_type_and_mark" ON "marks" ("markable_id", "markable_type", "mark")  (0.1ms) PRAGMA index_list("marks")  (0.1ms) PRAGMA index_info('index_marks_on_markable_id_and_markable_type_and_mark')  (1.8ms) CREATE INDEX "index_marks_on_marker_id_and_marker_type_and_mark" ON "marks" ("marker_id", "marker_type", "mark")  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120214114957')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120214103734')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120214103741')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120214105411')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120214105421')  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"