# Logfile created on Sat May 10 18:16:48 -0400 2008 SQL (0.000402)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000230) select sqlite_version(*) SQL (0.000315) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000222) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000212)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000204) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000150) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000097) SELECT version FROM schema_migrations SQL (0.000374) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000142) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000229) SELECT version FROM schema_migrations SQL (0.000247) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000269) SELECT version FROM schema_migrations SQL (0.000200) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001157)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000165) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000329) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer NOT NULL, "preferenced_type" varchar(255) NOT NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000219) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000652)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000416) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations SQL (0.000366) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000333) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000338) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000323) SELECT version FROM schema_migrations SQL (0.000408)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000233) select sqlite_version(*) SQL (0.000305) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000219) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000217)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000094) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000357) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000211) SELECT version FROM schema_migrations SQL (0.000238) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000281) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.002016)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000162) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000934) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer NOT NULL, "preferenced_type" varchar(255) NOT NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000229) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000659)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000419) SELECT version FROM schema_migrations SQL (0.000352) SELECT version FROM schema_migrations SQL (0.000337) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000342) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000333) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000340) SELECT version FROM schema_migrations SQL (0.000482)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000252) select sqlite_version(*) SQL (0.000313) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000221) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000219)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000208) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000150) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000096) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000363) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000122) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000265) SELECT version FROM schema_migrations SQL (0.000237) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000107) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000176) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000436)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000165) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000098) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000322) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer NOT NULL, "preferenced_type" varchar(255) NOT NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000227) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000116) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000115) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000117) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000586)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000453) SELECT version FROM schema_migrations SQL (0.000337) SELECT version FROM schema_migrations SQL (0.000347) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000339) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000326) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000341) SELECT version FROM schema_migrations SQL (0.000405)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000243) select sqlite_version(*) SQL (0.000302) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000230) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000209)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000156) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000088) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000369) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000133) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000218) SELECT version FROM schema_migrations SQL (0.000227) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000260) SELECT version FROM schema_migrations SQL (0.000175) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000438)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000163) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000343) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer NOT NULL, "preferenced_type" varchar(255) NOT NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000218) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000103) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000671)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000424) SELECT version FROM schema_migrations SQL (0.000335) SELECT version FROM schema_migrations SQL (0.000339) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000343) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000319) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000320) SELECT version FROM schema_migrations User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000000) SQLite3::SQLException: SQL logic error or missing database: INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:38:31', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:38:31') User Create (0.000186) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000000) SQLite3::SQLException: SQL logic error or missing database: INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:38:31', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:38:31') User Create (0.000113) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000000) SQLite3::SQLException: SQL logic error or missing database: INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:38:31', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:38:31') User Create (0.000198) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000351) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000433)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000265) select sqlite_version(*) SQL (0.000429) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000267) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000221)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000215) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000145) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000167) SELECT version FROM schema_migrations SQL (0.000382) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000130) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000212) SELECT version FROM schema_migrations SQL (0.000252) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000268) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000450)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000172) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000369) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000221) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000105) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000598)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000415) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations SQL (0.000319) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000340) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000339) SELECT version FROM schema_migrations User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000293) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000245) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:38:50', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:38:50') Preference Load (0.000464) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000224) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:38:50', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:38:50') Preference Load (0.000456) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000228) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:38:50', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:38:50') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000403)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000230) select sqlite_version(*) SQL (0.000294) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000205)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000154) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000088) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000354) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000213) SELECT version FROM schema_migrations SQL (0.000224) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000121) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000273) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.004705)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000150) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000406) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000214) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000105) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000153) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000593)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000413) SELECT version FROM schema_migrations SQL (0.000331) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000414) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000337) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000325) SELECT version FROM schema_migrations User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000203) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:39:38', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:39:38') Preference Load (0.000403) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000447) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000293) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000219) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:39:38', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:39:38') Preference Load (0.001090) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:39:38', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:39:38') Preference Load (0.000421) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000559) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000414)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000241) select sqlite_version(*) SQL (0.000335) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000235) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000252)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000231) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000164) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000088) SELECT version FROM schema_migrations SQL (0.000373) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000126) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000220) SELECT version FROM schema_migrations SQL (0.000241) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000175) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000439)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000233) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000360) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000231) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000109) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000107) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000598)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000413) SELECT version FROM schema_migrations SQL (0.000324) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000360) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000333) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000329) SELECT version FROM schema_migrations User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:07', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:07') Preference Load (0.000416) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:07', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:07') Preference Load (0.000414) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000173) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:07', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:07') Preference Load (0.000855) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000419)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000240) select sqlite_version(*) SQL (0.000299) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000223) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000230)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000580) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000166) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000161) SELECT version FROM schema_migrations SQL (0.000365) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000130) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000214) SELECT version FROM schema_migrations SQL (0.000223) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000256) SELECT version FROM schema_migrations SQL (0.000167) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000757)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000177) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000124) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000376) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000233) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000107) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000104) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000574)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000415) SELECT version FROM schema_migrations SQL (0.000643) SELECT version FROM schema_migrations SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000324) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000320) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000318) SELECT version FROM schema_migrations User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000976) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000231) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:22', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:22') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:22', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:22') Preference Load (0.000401) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000196) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000339) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000220) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:22', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:22') Preference Load (0.003201) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000471)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000232) select sqlite_version(*) SQL (0.000292) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000222) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000207)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000099) SELECT version FROM schema_migrations SQL (0.000681) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000130) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000214) SELECT version FROM schema_migrations SQL (0.000246) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000347) SELECT version FROM schema_migrations SQL (0.000193) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000669)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000162) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000172) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000331) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.001244) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000114) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000112) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000973) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000645)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000413) SELECT version FROM schema_migrations SQL (0.000320) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000328) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000320) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000489) SELECT version FROM schema_migrations User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000525) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000302) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:54') Preference Load (0.000748) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000190) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:54') Preference Load (0.000496) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001596) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000297) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:40:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:40:54') Preference Load (0.000599) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000510) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000431) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000331) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000467)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000246) select sqlite_version(*) SQL (0.000351) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000218) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000222)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000242) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000164) SELECT version FROM schema_migrations SQL (0.000110) SELECT version FROM schema_migrations SQL (0.000098) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000376) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000133) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000232) SELECT version FROM schema_migrations SQL (0.000245) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000121) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000272) SELECT version FROM schema_migrations SQL (0.000168) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000432)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000180) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000396) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000249) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000109) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000117) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000623)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000425) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations SQL (0.000343) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000318) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000328) SELECT version FROM schema_migrations User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000334) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000545)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000503)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000497)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000612)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000237) select sqlite_version(*) SQL (0.000312) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000214) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000213)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000203) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000152) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000358) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000138) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000227) SELECT version FROM schema_migrations SQL (0.000228) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000262) SELECT version FROM schema_migrations SQL (0.000178) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000435)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000204) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000529) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000217) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000122) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000111) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000583)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000426) SELECT version FROM schema_migrations SQL (0.000345) SELECT version FROM schema_migrations SQL (0.000351) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000410) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000415) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000325) SELECT version FROM schema_migrations User Create (0.000289) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000360) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.001102) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000315) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001095) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000471)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000320) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000228) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000220)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000204) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000088) SELECT version FROM schema_migrations SQL (0.000368) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000213) SELECT version FROM schema_migrations SQL (0.000270) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000268) SELECT version FROM schema_migrations SQL (0.000176) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000436)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000186) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000119) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000347) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000222) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000104) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000717)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000428) SELECT version FROM schema_migrations SQL (0.000330) SELECT version FROM schema_migrations SQL (0.000329) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000318) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000322) SELECT version FROM schema_migrations User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000246) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:56:04', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:56:04') Preference Load (0.001239) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000339) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000249) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:56:04', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:56:04') Preference Load (0.000423) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000206) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000283) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:56:04', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:56:04') Preference Load (0.000435) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000290) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000194) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000337) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000346) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000302) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000399)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000230) select sqlite_version(*) SQL (0.000302) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000217) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000208)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000365) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000130) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000220) SELECT version FROM schema_migrations SQL (0.000232) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000206) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000276) SELECT version FROM schema_migrations SQL (0.000169) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000855)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000231) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000188) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001125) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000227) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000152) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000116) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000119) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000579)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000412) SELECT version FROM schema_migrations SQL (0.000320) SELECT version FROM schema_migrations SQL (0.000422) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000320) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000319) SELECT version FROM schema_migrations User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000357) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:56:58', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:56:58') Preference Load (0.000433) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000185) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:56:58', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:56:58') Preference Load (0.000415) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000227) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000368) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000260) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:56:58', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:56:58') Preference Load (0.000502) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000317) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000173) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:56:58', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:56:58') Preference Load (0.000410) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000285) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000236) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000136) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:56:58', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 18:56:58') Preference Load (0.000432) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000345) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000458)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000233) select sqlite_version(*) SQL (0.000308) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000223) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000211)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000225) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000383) SELECT version FROM schema_migrations SQL (0.000376) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000138) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000228) SELECT version FROM schema_migrations SQL (0.000231) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000265) SELECT version FROM schema_migrations SQL (0.000169) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000477)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000179) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000335) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000232) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000109) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000576)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000686) SELECT version FROM schema_migrations SQL (0.000336) SELECT version FROM schema_migrations SQL (0.000397) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000377) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000419) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000321) SELECT version FROM schema_migrations User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000562) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000230) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:57:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:57:33') Preference Load (0.000421) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:57:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:57:33') Preference Load (0.000563) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000188) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000213) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:57:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:57:33') Preference Load (0.000435) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000348) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:57:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:57:33') Preference Load (0.000422) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000144) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000349) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000189) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:57:33', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 18:57:33') Preference Load (0.000437) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000242) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000404)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000240) select sqlite_version(*) SQL (0.000305) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000215) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000211)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000204) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000361) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000130) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000224) SELECT version FROM schema_migrations SQL (0.000229) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000309) SELECT version FROM schema_migrations SQL (0.000172) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001824)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000169) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000380) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000262) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000111) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000170) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000130) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000974)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000421) SELECT version FROM schema_migrations SQL (0.000324) SELECT version FROM schema_migrations SQL (0.000338) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000332) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000587) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000326) SELECT version FROM schema_migrations User Create (0.000171) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000224) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:58:56', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:58:56') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000171) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:58:56', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:58:56') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000782) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:58:56', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:58:56') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000219) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000377) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:58:56', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:58:56') Preference Load (0.000426) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000339) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000154) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000271) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:58:56', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 18:58:56') Preference Load (0.000440) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000271) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000404)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000304) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000217) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000213)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000205) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000151) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000094) SELECT version FROM schema_migrations SQL (0.000354) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000128) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000211) SELECT version FROM schema_migrations SQL (0.000227) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000261) SELECT version FROM schema_migrations SQL (0.000177) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000440)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000182) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000340) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000226) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.042602)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000425) SELECT version FROM schema_migrations SQL (0.000331) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000324) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000318) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000320) SELECT version FROM schema_migrations User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000209) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:59:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:59:33') Preference Load (0.000450) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000180) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:59:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:59:33') Preference Load (0.000408) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000340) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000202) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:59:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:59:33') Preference Load (0.000414) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000291) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000173) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000279) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000198) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:59:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 18:59:33') Preference Load (0.000458) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.001269) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000295) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000136) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000261) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000229) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000174) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 18:59:33', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 18:59:33') Preference Load (0.000412) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000323) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000430)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000241) select sqlite_version(*) SQL (0.000305) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000217) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000220)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000205) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000156) SELECT version FROM schema_migrations SQL (0.000096) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000364) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000126) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000625) SELECT version FROM schema_migrations SQL (0.000249) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000119) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000274) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000431)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000166) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000345) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000234) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000102) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000108) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000117) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000997)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000413) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000332) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000379) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000332) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000361) SELECT version FROM schema_migrations User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000215) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:00:11', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:00:11') Preference Load (0.000750) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:00:11', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:00:11') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:00:11', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:00:11') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000237) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000175) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000213) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:00:11', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:00:11') Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000283) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000291) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000150) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000253) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000203) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000360) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000228) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:00:11', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:00:11') Preference Load (0.000442) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000251) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000402)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000232) select sqlite_version(*) SQL (0.000297) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000214) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000212)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000094) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000355) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000124) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000212) SELECT version FROM schema_migrations SQL (0.000221) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000107) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000263) SELECT version FROM schema_migrations SQL (0.000178) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000437)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000178) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001178) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000233) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000104) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000117) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000605)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000415) SELECT version FROM schema_migrations SQL (0.000327) SELECT version FROM schema_migrations SQL (0.000620) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000328) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000323) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000331) SELECT version FROM schema_migrations User Create (0.000184) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000226) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:08', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:01:08') Preference Load (0.000499) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000471) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000207) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:08', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:01:08') Preference Load (0.000657) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000290) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001100) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000212) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:08', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:01:08') Preference Load (0.000430) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000299) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.003852) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000490) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000216) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:08', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:01:08') Preference Load (0.000885) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000309) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000322) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000304) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000156) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000250) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:08', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:01:08') Preference Load (0.000418) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000244) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000404)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000252) select sqlite_version(*) SQL (0.000300) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000217) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000215)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000203) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000154) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000368) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000137) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000218) SELECT version FROM schema_migrations SQL (0.000238) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000265) SELECT version FROM schema_migrations SQL (0.000178) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000453)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000163) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000450) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000430) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000112) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000109) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000122) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000590)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000422) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations SQL (0.000329) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000327) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000321) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000329) SELECT version FROM schema_migrations User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:30', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:01:30') Preference Load (0.000422) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:30', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:01:30') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000806) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000302) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:30', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:01:30') Preference Load (0.000500) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.002924) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:30', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:01:30') Preference Load (0.000424) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000171) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000593) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000175) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000259) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000202) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000196) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:01:30', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:01:30') Preference Load (0.000422) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000263) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000412)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000234) select sqlite_version(*) SQL (0.000298) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000215) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000209)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000205) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000151) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000088) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000380) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000124) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000215) SELECT version FROM schema_migrations SQL (0.000220) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000272) SELECT version FROM schema_migrations SQL (0.000172) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000438)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000161) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000380) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000275) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000115) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000139) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.001026)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000412) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000317) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000323) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000341) SELECT version FROM schema_migrations User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:11', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:11') Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000172) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:11', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:11') Preference Load (0.000410) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000372) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000920) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000209) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:11', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:11') Preference Load (0.000442) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000288) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000282) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:11', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:11') Preference Load (0.000558) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001326) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000195) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000822) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000223) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000337) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000278) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000157) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000251) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000427) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:11', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:03:11') Preference Load (0.000827) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000284) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000403)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000233) select sqlite_version(*) SQL (0.000297) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000221)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000228) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000159) SELECT version FROM schema_migrations SQL (0.000094) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000357) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000132) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000222) SELECT version FROM schema_migrations SQL (0.000229) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000120) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000262) SELECT version FROM schema_migrations SQL (0.000175) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000460)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000197) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000365) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000259) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000107) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000108) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000983)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000427) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations SQL (0.000327) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000326) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000321) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000319) SELECT version FROM schema_migrations User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000220) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:28', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:28') Preference Load (0.000479) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:28', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:28') Preference Load (0.000421) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:28', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:28') Preference Load (0.000766) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000290) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000171) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:28', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:28') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000190) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000325) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000294) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000770) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000210) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000371) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000164) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000264) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:29', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:03:29') Preference Load (0.000491) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000313) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000413)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000243) select sqlite_version(*) SQL (0.000313) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000224) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000219)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000247) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000141) SELECT version FROM schema_migrations SQL (0.000100) SELECT version FROM schema_migrations SQL (0.000094) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000095) SELECT version FROM schema_migrations SQL (0.000387) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000162) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000229) SELECT version FROM schema_migrations SQL (0.000240) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000281) SELECT version FROM schema_migrations SQL (0.000161) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001553)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000167) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000387) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000232) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000107) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000107) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000596)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000415) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000332) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000328) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000320) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000319) SELECT version FROM schema_migrations User Create (0.000183) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000290) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000233) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:55') Preference Load (0.000421) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000181) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:55') Preference Load (0.000511) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:55') Preference Load (0.000434) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000187) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:03:55') Preference Load (0.000418) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000291) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000278) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000195) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000616) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000288) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000142) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000366) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000229) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:03:55', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:03:55') Preference Load (0.000441) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000245) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000402)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000241) select sqlite_version(*) SQL (0.000343) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000211)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000198) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000359) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000129) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000212) SELECT version FROM schema_migrations SQL (0.000239) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000269) SELECT version FROM schema_migrations SQL (0.000169) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000432)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000885) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000245) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000175) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000110) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.001495)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000416) SELECT version FROM schema_migrations SQL (0.000321) SELECT version FROM schema_migrations SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000408) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000330) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000328) SELECT version FROM schema_migrations User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000319) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000226) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:19', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:04:19') Preference Load (0.000433) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000280) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:19', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:04:19') Preference Load (0.000424) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000217) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000343) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000226) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:19', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:04:19') Preference Load (0.000437) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000190) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:19', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:04:19') Preference Load (0.000418) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000333) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000706) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000295) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000139) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000247) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000306) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:19', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:04:19') Preference Load (0.000412) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000279) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000415)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000233) select sqlite_version(*) SQL (0.000300) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000236)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000166) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000354) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000133) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000221) SELECT version FROM schema_migrations SQL (0.000458) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.001791) SELECT version FROM schema_migrations SQL (0.000361) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001120)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000165) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000337) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.001110) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000364) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000121) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000117) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000686)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000422) SELECT version FROM schema_migrations SQL (0.000422) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000320) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000320) SELECT version FROM schema_migrations User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000229) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:34', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:04:34') Preference Load (0.000493) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000221) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:34', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:04:34') Preference Load (0.000462) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000328) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:34', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:04:34') Preference Load (0.000417) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000211) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000380) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:34', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:04:34') Preference Load (0.000434) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000198) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000360) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000315) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000187) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000289) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000169) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000521) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000148) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000274) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000387) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000227) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:04:34', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:04:34') Preference Load (0.000432) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000306) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000459)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000315) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000222) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000221)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000095) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000104) SELECT version FROM schema_migrations SQL (0.000356) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000125) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000227) SELECT version FROM schema_migrations SQL (0.000249) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000274) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000435)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000161) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000352) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000219) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000103) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.002526)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000420) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000379) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000374) SELECT version FROM schema_migrations User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:21:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:21:27') Preference Load (0.000460) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000349) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:21:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:21:27') Preference Load (0.000429) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.001327) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:21:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:21:27') Preference Load (0.000436) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000296) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000286) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:21:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:21:27') Preference Load (0.000518) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000303) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000169) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000317) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000178) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000325) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000147) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000571) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000207) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:21:27', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:21:27') Preference Load (0.000426) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000254) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000459)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000232) select sqlite_version(*) SQL (0.000309) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000240) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000226)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000206) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000152) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000355) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000212) SELECT version FROM schema_migrations SQL (0.000223) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000264) SELECT version FROM schema_migrations SQL (0.000336) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000926)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000170) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000352) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000223) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000174) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000657)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000506) SELECT version FROM schema_migrations SQL (0.000345) SELECT version FROM schema_migrations SQL (0.000384) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000333) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000337) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000406) SELECT version FROM schema_migrations User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:27:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:27:05') Preference Load (0.000773) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000445) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000853) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:27:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:27:05') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000218) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000217) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:27:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:27:05') Preference Load (0.000524) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.003406) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000490) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000366) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:27:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:27:05') Preference Load (0.000765) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000169) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000787) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000370) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000140) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000244) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:27:05', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:27:05') Preference Load (0.000416) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000236) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000404)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000236) select sqlite_version(*) SQL (0.000307) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000220) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000216)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000152) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000358) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000126) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000215) SELECT version FROM schema_migrations SQL (0.000253) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000273) SELECT version FROM schema_migrations SQL (0.000173) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000439)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000169) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000337) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000223) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000104) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000937)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000414) SELECT version FROM schema_migrations SQL (0.000336) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000319) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000315) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000318) SELECT version FROM schema_migrations User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000235) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:28:36', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:28:36') Preference Load (0.000487) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000311) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:28:36', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:28:36') Preference Load (0.000414) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000216) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:28:36', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:28:36') Preference Load (0.000516) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000333) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000204) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000346) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000223) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:28:36', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:28:36') Preference Load (0.000434) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000869) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000452) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000311) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000147) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000224) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:28:37', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:28:37') Preference Load (0.000463) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000248) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000479)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000238) select sqlite_version(*) SQL (0.000309) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000225) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000231)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000219) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000151) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000374) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000160) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000247) SELECT version FROM schema_migrations SQL (0.000273) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000132) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000289) SELECT version FROM schema_migrations SQL (0.001463) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001215)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000163) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000340) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000220) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000113) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000111) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000911)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000412) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000353) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000323) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000341) SELECT version FROM schema_migrations User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000291) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:12', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:31:12') Preference Load (0.000445) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000176) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:12', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:31:12') Preference Load (0.000425) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000176) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:12', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:31:12') Preference Load (0.000434) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000372) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000314) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:12', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:31:12') Preference Load (0.000427) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000116) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000141) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000248) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000170) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:12', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:31:12') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000243) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000454)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000233) select sqlite_version(*) SQL (0.000307) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000223) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000211)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000363) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000128) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000213) SELECT version FROM schema_migrations SQL (0.000253) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000273) SELECT version FROM schema_migrations SQL (0.000168) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000451)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000240) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000449) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000241) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000111) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000108) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000587)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000438) SELECT version FROM schema_migrations SQL (0.000339) SELECT version FROM schema_migrations SQL (0.000568) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000328) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000324) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000357) SELECT version FROM schema_migrations User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:30', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:31:30') Preference Load (0.000537) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000279) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:30', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:31:30') Preference Load (0.000466) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000240) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:30', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:31:30') Preference Load (0.000559) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000281) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:30', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:31:30') Preference Load (0.000763) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000291) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000589) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000221) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000335) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000668) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000296) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000146) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000259) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000634) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:31:30', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:31:30') Preference Load (0.000507) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000264) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000405)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000246) select sqlite_version(*) SQL (0.000312) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000224) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000234)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000209) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000241) SELECT version FROM schema_migrations SQL (0.000108) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000094) SELECT version FROM schema_migrations SQL (0.000353) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000142) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000231) SELECT version FROM schema_migrations SQL (0.000233) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000274) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.004501)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000171) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000107) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000491) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000242) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000105) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000585)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000421) SELECT version FROM schema_migrations SQL (0.000324) SELECT version FROM schema_migrations SQL (0.000334) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000339) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000333) SELECT version FROM schema_migrations User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.001020) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:02', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:33:02') Preference Load (0.002932) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000186) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:03', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:33:03') Preference Load (0.000441) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000209) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000405) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000233) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:03', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:33:03') Preference Load (0.000476) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000299) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000203) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:03', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:33:03') Preference Load (0.000435) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000185) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000331) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000329) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000438) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000321) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000150) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000249) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000293) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:03', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:33:03') Preference Load (0.000445) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000250) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000407)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000234) select sqlite_version(*) SQL (0.000296) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000208)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000200) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000359) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000124) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000216) SELECT version FROM schema_migrations SQL (0.000248) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000269) SELECT version FROM schema_migrations SQL (0.000172) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000438)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000188) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000114) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000363) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000222) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000105) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000872)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000411) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000335) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000322) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000327) SELECT version FROM schema_migrations User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000230) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:13', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:33:13') Preference Load (0.000797) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000235) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:13', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:33:13') Preference Load (0.000416) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000599) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.012110) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:13', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:33:13') Preference Load (0.000475) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000341) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000221) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:13', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:33:13') Preference Load (0.002546) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000561) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000169) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000339) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000310) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000252) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000269) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000355) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000208) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:33:13', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:33:13') Preference Load (0.000418) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000331) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000403)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000228) select sqlite_version(*) SQL (0.000302) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000218) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000213)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000199) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000154) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000088) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000352) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000139) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000223) SELECT version FROM schema_migrations SQL (0.000241) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000277) SELECT version FROM schema_migrations SQL (0.000235) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000454)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000171) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000396) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000231) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000102) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000102) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000600)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000416) SELECT version FROM schema_migrations SQL (0.000324) SELECT version FROM schema_migrations SQL (0.000343) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000362) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000327) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000321) SELECT version FROM schema_migrations User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000232) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:34:19', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:34:19') Preference Load (0.000492) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000171) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:34:19', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:34:19') Preference Load (0.000397) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000170) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:34:19', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:34:19') Preference Load (0.016660) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.001583) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000454) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000298) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000189) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:34:19', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:34:19') Preference Load (0.000485) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000151) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000248) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000181) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:34:19', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:34:19') Preference Load (0.000450) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000262) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000451)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000236) select sqlite_version(*) SQL (0.000308) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000217) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000206)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000145) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000088) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000088) SELECT version FROM schema_migrations SQL (0.000361) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000136) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000245) SELECT version FROM schema_migrations SQL (0.000261) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000277) SELECT version FROM schema_migrations SQL (0.000171) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000437)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000354) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000671) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000133) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000111) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000713)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000415) SELECT version FROM schema_migrations SQL (0.000413) SELECT version FROM schema_migrations SQL (0.000324) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000330) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000317) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000333) SELECT version FROM schema_migrations User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000207) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:23', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:36:23') Preference Load (0.004904) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000205) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000276) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:23', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:36:23') Preference Load (0.000661) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000198) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:23', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:36:23') Preference Load (0.000509) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000772) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000313) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:23', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:36:23') Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000415) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001062) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000208) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000195) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000140) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000322) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000193) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000394) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000411) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:23', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:36:23') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000336) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000424)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000244) select sqlite_version(*) SQL (0.000316) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000226) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000225)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000263) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000173) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000166) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000100) SELECT version FROM schema_migrations SQL (0.000368) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000221) SELECT version FROM schema_migrations SQL (0.000232) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000259) SELECT version FROM schema_migrations SQL (0.000183) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000438)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000332) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000230) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000111) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000108) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000601)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000408) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000322) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000331) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000339) SELECT version FROM schema_migrations User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000222) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:56', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:36:56') Preference Load (0.000407) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000288) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000212) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:56', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:36:56') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.004728) INSERT INTO "users" ("login") VALUES('admin') User Load (0.004107) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000712) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:56', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:36:56') Preference Load (0.000608) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000361) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000241) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000981) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000487) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:56', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:36:56') Preference Load (0.000487) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.001321) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000290) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000151) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000302) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000410) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:36:56', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:36:56') Preference Load (0.000454) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000256) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000399)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000237) select sqlite_version(*) SQL (0.000309) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000213) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000208)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000142) SELECT version FROM schema_migrations SQL (0.000159) SELECT version FROM schema_migrations SQL (0.000097) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000105) SELECT version FROM schema_migrations SQL (0.000357) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000214) SELECT version FROM schema_migrations SQL (0.001779) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000143) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000609) SELECT version FROM schema_migrations SQL (0.000175) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000514)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000365) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000324) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000111) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000105) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.070112)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000420) SELECT version FROM schema_migrations SQL (0.000333) SELECT version FROM schema_migrations SQL (0.000315) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000322) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000348) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000338) SELECT version FROM schema_migrations User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000212) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:37:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:37:05') Preference Load (0.000430) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:37:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:37:05') Preference Load (0.000423) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000300) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:37:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:37:05') Preference Load (0.000412) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000240) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000330) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:37:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:37:05') Preference Load (0.000417) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.002624) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000211) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000449) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000211) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000374) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000323) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000349) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000322) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000150) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.005769) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.004166) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:37:06', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:37:06') Preference Load (0.000784) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000266) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000397)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000259) select sqlite_version(*) SQL (0.000300) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000224) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000222)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000213) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000357) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000210) SELECT version FROM schema_migrations SQL (0.000220) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000256) SELECT version FROM schema_migrations SQL (0.000177) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000449)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000176) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000328) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000235) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000119) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000107) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000574)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000410) SELECT version FROM schema_migrations SQL (0.000332) SELECT version FROM schema_migrations SQL (0.000315) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000317) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000316) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000318) SELECT version FROM schema_migrations User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000302) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000220) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:39:35', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:39:35') Preference Load (0.000407) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:39:35', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:39:35') Preference Load (0.000412) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000231) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:39:35', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:39:35') Preference Load (0.000427) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:39:35', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:39:35') Preference Load (0.000409) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000173) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000293) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000116) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000238) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000111) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000234) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000280) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000162) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000269) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000238) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000163) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:39:35', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:39:35') Preference Load (0.000432) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000283) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000453)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000263) select sqlite_version(*) SQL (0.000382) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000250) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000240)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000211) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000088) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000088) SELECT version FROM schema_migrations SQL (0.000511) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000180) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000223) SELECT version FROM schema_migrations SQL (0.000234) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000261) SELECT version FROM schema_migrations SQL (0.000179) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000438)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000681) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000121) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000404) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000253) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000105) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000655)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000411) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations SQL (0.000319) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000336) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000319) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000360) SELECT version FROM schema_migrations User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000269) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:41:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:41:40') Preference Load (0.000476) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000198) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:41:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:41:40') Preference Load (0.000430) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000175) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:41:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:41:40') Preference Load (0.000508) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000315) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000186) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:41:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:41:40') Preference Load (0.000410) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000176) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000295) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001013) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000137) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000249) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000511) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:41:40', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:41:40') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000238) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000796)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000262) select sqlite_version(*) SQL (0.001020) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000663) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000243)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000212) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000094) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000097) SELECT version FROM schema_migrations SQL (0.000359) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000126) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000208) SELECT version FROM schema_migrations SQL (0.000227) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000126) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000262) SELECT version FROM schema_migrations SQL (0.000176) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000445)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000168) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000348) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000226) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000102) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000104) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.048112)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000421) SELECT version FROM schema_migrations SQL (0.000392) SELECT version FROM schema_migrations SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000324) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000331) SELECT version FROM schema_migrations User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000254) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:43:53', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:43:53') Preference Load (0.000415) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:43:53', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:43:53') Preference Load (0.000545) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000207) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:43:53', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:43:53') Preference Load (0.000431) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000335) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000233) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:43:53', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:43:53') Preference Load (0.000520) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000139) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000260) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:43:53', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:43:53') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000316) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000405)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000307) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000217) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000213)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000200) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000150) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000132) SELECT version FROM schema_migrations SQL (0.000348) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000124) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000207) SELECT version FROM schema_migrations SQL (0.000225) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000327) SELECT version FROM schema_migrations SQL (0.000169) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000526)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000160) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000362) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000224) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000103) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000107) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000635)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000415) SELECT version FROM schema_migrations SQL (0.000333) SELECT version FROM schema_migrations SQL (0.000328) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000326) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000317) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000323) SELECT version FROM schema_migrations User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000272) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:44:32') Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000318) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:44:32') Preference Load (0.000410) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000339) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000605) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:44:32') Preference Load (0.000735) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000365) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000455) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:44:32') Preference Load (0.001743) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000117) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000234) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000609) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000288) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000142) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000255) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000318) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000196) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:32', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:44:32') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000232) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000458)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000226) select sqlite_version(*) SQL (0.000316) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000223) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000213)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000207) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000154) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000095) SELECT version FROM schema_migrations SQL (0.000394) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000139) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000234) SELECT version FROM schema_migrations SQL (0.000254) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000121) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000270) SELECT version FROM schema_migrations SQL (0.000170) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000431)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000183) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000348) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000225) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000112) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000111) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.008409)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000407) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000343) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000324) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.001247) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000343) SELECT version FROM schema_migrations User Create (0.000178) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000222) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:44:54') Preference Load (0.000407) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000365) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000191) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:44:54') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000208) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:44:54') Preference Load (0.000429) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:44:54') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000171) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000299) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000144) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000243) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:44:54', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:44:54') Preference Load (0.000441) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000257) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000399)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000232) select sqlite_version(*) SQL (0.000296) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000214) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000219)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000210) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000158) SELECT version FROM schema_migrations SQL (0.000144) SELECT version FROM schema_migrations SQL (0.000095) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000385) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000209) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000239) SELECT version FROM schema_migrations SQL (0.000241) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000169) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000292) SELECT version FROM schema_migrations SQL (0.004653) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.006172)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000166) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000402) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000221) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000175) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.044732)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000484) SELECT version FROM schema_migrations SQL (0.000332) SELECT version FROM schema_migrations SQL (0.000328) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000331) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000409) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000323) SELECT version FROM schema_migrations User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.002308) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:46:14', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:46:14') Preference Load (0.000502) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000386) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:46:14', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:46:14') Preference Load (0.000431) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000179) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000348) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000521) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:46:14', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:46:14') Preference Load (0.000732) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000361) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000232) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000268) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:46:14', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:46:14') Preference Load (0.001322) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000347) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000347) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000118) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000116) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000143) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000247) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001154) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:46:14', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:46:14') Preference Load (0.000504) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000244) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000399)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000226) select sqlite_version(*) SQL (0.000292) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000259) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000237)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000233) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000152) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000094) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000363) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000122) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000206) SELECT version FROM schema_migrations SQL (0.000240) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000262) SELECT version FROM schema_migrations SQL (0.000176) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000449)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000175) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000097) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000366) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000224) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000108) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000668)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000408) SELECT version FROM schema_migrations SQL (0.000330) SELECT version FROM schema_migrations SQL (0.000425) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000337) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000314) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000318) SELECT version FROM schema_migrations User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:13', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:48:13') Preference Load (0.000418) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000171) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:13', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:48:13') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001342) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000288) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:13', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:48:13') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000233) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000300) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:13', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:48:13') Preference Load (0.000424) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000363) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000149) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000258) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000208) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000288) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000206) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:13', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:48:13') Preference Load (0.000414) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000234) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000403)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000228) select sqlite_version(*) SQL (0.000299) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000210)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000353) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000128) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000211) SELECT version FROM schema_migrations SQL (0.000224) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.001426) SELECT version FROM schema_migrations SQL (0.000190) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000544)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000173) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000338) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000664) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000568)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000407) SELECT version FROM schema_migrations SQL (0.000332) SELECT version FROM schema_migrations SQL (0.000329) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000334) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000323) SELECT version FROM schema_migrations User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.001232) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:50', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:48:50') Preference Load (0.000519) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:50', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:48:50') Preference Load (0.000490) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000391) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000249) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:50', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:48:50') Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.001346) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000389) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000277) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:50', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:48:50') Preference Load (0.000438) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000176) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000295) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000135) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000240) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000196) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:48:50', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:48:50') Preference Load (0.000417) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000249) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000422)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000228) select sqlite_version(*) SQL (0.000294) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000207)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000260) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000366) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000129) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000207) SELECT version FROM schema_migrations SQL (0.000237) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000128) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000700) SELECT version FROM schema_migrations SQL (0.000188) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000997)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000164) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000333) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000216) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000117) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000733)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000423) SELECT version FROM schema_migrations SQL (0.000389) SELECT version FROM schema_migrations SQL (0.000352) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000414) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000338) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000316) SELECT version FROM schema_migrations User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000223) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:49:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:49:27') Preference Load (0.000427) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:49:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:49:27') Preference Load (0.000449) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000299) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:49:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:49:27') Preference Load (0.000474) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000230) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:49:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:49:27') Preference Load (0.000433) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000113) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000238) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000309) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000141) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000249) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:49:27', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:49:27') Preference Load (0.000417) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000274) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000405)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000234) select sqlite_version(*) SQL (0.000300) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000219) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000209)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000203) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000154) SELECT version FROM schema_migrations SQL (0.000101) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000353) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000125) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000210) SELECT version FROM schema_migrations SQL (0.000239) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000177) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000449)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000246) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000140) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000378) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000288) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000386) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000110) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.043189)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000423) SELECT version FROM schema_migrations SQL (0.000455) SELECT version FROM schema_migrations SQL (0.000351) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000342) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000330) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000337) SELECT version FROM schema_migrations User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000233) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:50:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:50:43') Preference Load (0.002040) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000201) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000190) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:50:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:50:43') Preference Load (0.000409) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000191) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:50:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:50:43') Preference Load (0.000437) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000329) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000203) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000344) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000203) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:50:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:50:43') Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000175) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000279) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000147) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000265) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:50:43', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:50:43') Preference Load (0.000416) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000237) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000403)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000228) select sqlite_version(*) SQL (0.000296) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000219) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000211)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000203) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000155) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000354) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000133) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000317) SELECT version FROM schema_migrations SQL (0.000238) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000276) SELECT version FROM schema_migrations SQL (0.000176) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000440)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000173) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000113) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000390) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000340) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000132) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000405) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000691)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000415) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations SQL (0.000319) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000663) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000337) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000319) SELECT version FROM schema_migrations User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000199) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:51:37', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:51:37') Preference Load (0.000715) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000222) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:51:37', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:51:37') Preference Load (0.000478) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000204) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000314) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000194) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:51:37', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:51:37') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000300) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000189) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:51:37', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:51:37') Preference Load (0.000408) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000306) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000549) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000383) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000318) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000244) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000252) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000234) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000194) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:51:37', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:51:37') Preference Load (0.000746) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000357) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000402)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000230) select sqlite_version(*) SQL (0.000308) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000235) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000218)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000205) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000152) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000138) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000106) SELECT version FROM schema_migrations SQL (0.000364) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000210) SELECT version FROM schema_migrations SQL (0.000225) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000268) SELECT version FROM schema_migrations SQL (0.000170) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000448)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000158) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000377) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000224) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000115) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000108) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000596)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000411) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000321) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000321) SELECT version FROM schema_migrations User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000276) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:51:59', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:51:59') Preference Load (0.000507) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:00', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:52:00') Preference Load (0.000401) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000273) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:00', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:52:00') Preference Load (0.000693) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000451) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000294) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000192) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:00', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:52:00') Preference Load (0.000732) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000337) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000601) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000547) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000374) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000322) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000118) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000238) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000200) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000138) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000241) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000235) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000173) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:00', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:52:00') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000242) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000395)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000232) select sqlite_version(*) SQL (0.000302) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000214) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000213)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000109) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000365) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000124) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000209) SELECT version FROM schema_migrations SQL (0.000222) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000259) SELECT version FROM schema_migrations SQL (0.000183) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000444)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000467) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000222) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000183) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000104) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000573)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000416) SELECT version FROM schema_migrations SQL (0.000330) SELECT version FROM schema_migrations SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000333) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000317) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000332) SELECT version FROM schema_migrations User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001591) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000224) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:15', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:52:15') Preference Load (0.000752) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000187) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:15', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:52:15') Preference Load (0.000440) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000954) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000473) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000197) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:15', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:52:15') Preference Load (0.000810) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000578) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000226) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000423) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:15', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:52:15') Preference Load (0.000871) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000950) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000307) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000334) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000350) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000346) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000243) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000200) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:52:15', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:52:15') Preference Load (0.000431) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000240) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000489)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000244) select sqlite_version(*) SQL (0.000300) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000208)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000671) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000150) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000353) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000227) SELECT version FROM schema_migrations SQL (0.000228) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000259) SELECT version FROM schema_migrations SQL (0.000168) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000436)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000165) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000207) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000659) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000238) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000126) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000109) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000569)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000405) SELECT version FROM schema_migrations SQL (0.000431) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000768) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000674) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000351) SELECT version FROM schema_migrations User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:53:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:53:05') Preference Load (0.000578) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000322) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000176) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:53:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:53:05') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.003444) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:53:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:53:05') Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000616) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000299) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000209) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:53:05', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 19:53:05') Preference Load (0.000430) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000149) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000259) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000238) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000190) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 19:53:05', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 19:53:05') Preference Load (0.000423) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000405)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000229) select sqlite_version(*) SQL (0.000304) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000221) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000211)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000204) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000156) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000370) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000124) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000215) SELECT version FROM schema_migrations SQL (0.000227) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000270) SELECT version FROM schema_migrations SQL (0.000186) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000449)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000238) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000163) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000342) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000273) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000113) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000113) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000591)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000472) SELECT version FROM schema_migrations SQL (0.000328) SELECT version FROM schema_migrations SQL (0.000372) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000326) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000320) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000322) SELECT version FROM schema_migrations User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000232) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:31:09', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:31:09') Preference Load (0.000454) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000176) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000301) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000206) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:31:09', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:31:09') Preference Load (0.000442) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000171) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:31:09', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:31:09') Preference Load (0.004015) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000364) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000278) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000517) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:31:09', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:31:09') Preference Load (0.000427) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000321) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000134) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000178) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:31:09', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:31:09') Preference Load (0.000633) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000253) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000414)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000242) select sqlite_version(*) SQL (0.000301) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000218) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000211)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000170) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000348) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000128) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000214) SELECT version FROM schema_migrations SQL (0.000222) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000117) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000290) SELECT version FROM schema_migrations SQL (0.000175) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000442)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000157) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000335) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000216) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000104) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000128) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000609)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000414) SELECT version FROM schema_migrations SQL (0.000324) SELECT version FROM schema_migrations SQL (0.000427) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000351) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000344) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000349) SELECT version FROM schema_migrations User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000246) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:33:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:33:55') Preference Load (0.000488) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000216) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:33:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:33:55') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000197) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:33:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:33:55') Preference Load (0.000539) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000363) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:33:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:33:55') Preference Load (0.000439) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000293) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000614) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000147) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000419) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:33:55', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:33:55') Preference Load (0.000400) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  SQL (0.000402)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000230) select sqlite_version(*) SQL (0.000301) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000215) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000208)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000220) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000151) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000366) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000147) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000221) SELECT version FROM schema_migrations SQL (0.000236) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000185) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000267) SELECT version FROM schema_migrations SQL (0.000175) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000434)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000143) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000456) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000221) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000106) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000412) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000602)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000428) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000317) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000319) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000319) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000317) SELECT version FROM schema_migrations User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000226) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:36:28', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:36:28') Preference Load (0.000456) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000363) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:36:28', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:36:28') Preference Load (0.000423) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:36:28', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:36:28') Preference Load (0.000429) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000332) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000275) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:36:28', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:36:28') Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000291) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000563) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000298) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000138) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000314) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000294) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000198) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:36:28', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:36:28') Preference Load (0.000404) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000233) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced" IS NULL)) LIMIT 1 Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced" IS NULL)) LIMIT 1 Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced" IS NULL)) LIMIT 1 SQL (0.000399)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000300) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000216) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000209)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000220) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000148) SELECT version FROM schema_migrations SQL (0.000094) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000191) SELECT version FROM schema_migrations SQL (0.000506) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000134) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000210) SELECT version FROM schema_migrations SQL (0.000266) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.007445) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000323) SELECT version FROM schema_migrations SQL (0.000162) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000422)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000162) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001014) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000239) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000117) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000638)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000412) SELECT version FROM schema_migrations SQL (0.000419) SELECT version FROM schema_migrations SQL (0.000363) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000756) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000389) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000487) SELECT version FROM schema_migrations User Create (0.000173) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:37:36', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:37:36') Preference Load (0.000395) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000207) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000323) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000239) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:37:36', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:37:36') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:37:36', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:37:36') Preference Load (0.000750) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000184) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000460) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000232) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:37:36', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:37:36') Preference Load (0.000414) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000303) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000760) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000369) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000246) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000268) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000445) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000189) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:37:36', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:37:36') Preference Load (0.000533) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000254) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced" IS NULL)) LIMIT 1 Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced" IS NULL)) LIMIT 1 Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced" IS NULL)) LIMIT 1 SQL (0.000405)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000239) select sqlite_version(*) SQL (0.000301) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000219) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000215)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000209) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000385) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000133) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000215) SELECT version FROM schema_migrations SQL (0.000230) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000267) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000438)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000164) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000102) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000361) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000228) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000103) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000590)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000407) SELECT version FROM schema_migrations SQL (0.000379) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000319) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000317) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000314) SELECT version FROM schema_migrations User Create (0.000177) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000245) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:39:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:39:32') Preference Load (0.000506) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000178) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000327) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000209) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:39:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:39:32') Preference Load (0.000403) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000235) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000157) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:39:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:39:32') Preference Load (0.000386) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.001630) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000337) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000267) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:39:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:39:32') Preference Load (0.000493) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000175) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000317) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000299) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000115) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000236) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000299) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000183) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000273) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000234) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000212) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:39:33', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:39:33') Preference Load (0.000797) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000257) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced" IS NULL)) LIMIT 1 Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced" IS NULL)) LIMIT 1 Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced" IS NULL)) LIMIT 1 Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced" IS NULL)) LIMIT 1 Preference Load (0.000000) SQLite3::SQLException: no such column: preferences.preferenced: SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced" IS NULL)) LIMIT 1 SQL (0.000519)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000242) select sqlite_version(*) SQL (0.000310) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000220) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000210)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000157) SELECT version FROM schema_migrations SQL (0.000094) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000098) SELECT version FROM schema_migrations SQL (0.000358) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000216) SELECT version FROM schema_migrations SQL (0.000249) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000190) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000461)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000161) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000338) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000217) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000102) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000589)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000416) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000322) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000322) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000322) SELECT version FROM schema_migrations User Create (0.000175) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000202) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:40:34', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:40:34') Preference Load (0.000402) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000278) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:40:34', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:40:34') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:40:34', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:40:34') Preference Load (0.000401) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000180) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:40:34', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:40:34') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000118) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000148) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000245) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000168) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:40:35', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:40:35') Preference Load (0.000407) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000197) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000163) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000160) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000161) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000158) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000510)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000227) select sqlite_version(*) SQL (0.000323) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000226) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000214)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000212) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000152) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000362) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000773) SELECT version FROM schema_migrations SQL (0.000259) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000137) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000299) SELECT version FROM schema_migrations SQL (0.000169) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000431)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000164) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000113) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000426) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000220) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000178) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000589)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000400) SELECT version FROM schema_migrations SQL (0.005380) SELECT version FROM schema_migrations SQL (0.000382) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000322) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000329) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000311) SELECT version FROM schema_migrations User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:20', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:45:20') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000205) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:20', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:45:20') Preference Load (0.000450) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000309) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:20', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:45:20') Preference Load (0.000399) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000204) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:20', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:45:20') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000310) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000301) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000360) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000561) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000143) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000253) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000174) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:20', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:45:20') Preference Load (0.000408) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000278) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000211) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000185) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000169) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000164) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000463)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000244) select sqlite_version(*) SQL (0.000312) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000223) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000215)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000209) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000348) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000135) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000245) SELECT version FROM schema_migrations SQL (0.000227) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000273) SELECT version FROM schema_migrations SQL (0.000184) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000476)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000109) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000343) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000223) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000590)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000403) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations SQL (0.000314) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000329) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000322) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000315) SELECT version FROM schema_migrations User Create (0.000185) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000278) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000209) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:39', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:45:39') Preference Load (0.000403) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:39', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:45:39') Preference Load (0.000395) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000174) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:39', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:45:39') Preference Load (0.000391) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000232) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000169) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:39', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:45:39') Preference Load (0.000392) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000143) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000254) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:45:39', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:45:39') Preference Load (0.000400) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000238) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000215) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 Preference Load (0.000190) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 Preference Load (0.000175) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 Preference Load (0.000174) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 Preference Load (0.000162) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 SQL (0.000455)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000309) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000230) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000237)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.007751) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.004416) SELECT version FROM schema_migrations SQL (0.000098) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000372) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000207) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000213) SELECT version FROM schema_migrations SQL (0.000297) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000274) SELECT version FROM schema_migrations SQL (0.000172) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000441)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000221) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000393) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000246) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000108) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000119) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000622)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000407) SELECT version FROM schema_migrations SQL (0.000331) SELECT version FROM schema_migrations SQL (0.000339) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000340) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000334) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000319) SELECT version FROM schema_migrations User Create (0.000235) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000216) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:46:32') Preference Load (0.000426) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:46:32') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000372) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:46:32') Preference Load (0.000440) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:46:32') Preference Load (0.000399) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000449) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000205) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000824) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000145) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000269) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000237) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000175) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:32', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:46:32') Preference Load (0.000402) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000233) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000194) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_type" = 'User')) LIMIT 1 Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_type" = 'User')) LIMIT 1 Preference Load (0.000165) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_type" = 'User')) LIMIT 1 Preference Load (0.000158) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" = 'User')) LIMIT 1 Preference Load (0.000154) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" = 'User')) LIMIT 1 SQL (0.000545)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000253) select sqlite_version(*) SQL (0.000318) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000220) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000207)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000207) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000147) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000411) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000219) SELECT version FROM schema_migrations SQL (0.000278) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000278) SELECT version FROM schema_migrations SQL (0.000169) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000434)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000144) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000335) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000225) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000107) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000117) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000882)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000412) SELECT version FROM schema_migrations SQL (0.000351) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000329) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000320) SELECT version FROM schema_migrations User Create (0.000196) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000206) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:44', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:46:44') Preference Load (0.000401) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000173) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:44', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:46:44') Preference Load (0.000405) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:44', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:46:44') Preference Load (0.000426) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:44', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:46:44') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000403) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000467) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000278) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000156) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000242) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000190) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000180) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:46:44', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:46:44') Preference Load (0.000496) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000241) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000192) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 Preference Load (0.000167) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 Preference Load (0.000170) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 Preference Load (0.000175) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 Preference Load (0.000168) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" = NULL)) LIMIT 1 SQL (0.000457)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000233) select sqlite_version(*) SQL (0.000308) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000221) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000207)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000203) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000096) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000357) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000126) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000215) SELECT version FROM schema_migrations SQL (0.000225) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000259) SELECT version FROM schema_migrations SQL (0.000172) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000432)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000157) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000373) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000216) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000103) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000107) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000601)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000411) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000329) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000334) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000325) SELECT version FROM schema_migrations User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000505) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:48:18', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:48:18') Preference Load (0.000517) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000352) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000552) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:48:18', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:48:18') Preference Load (0.001375) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000460) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000267) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:48:18', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:48:18') Preference Load (0.001257) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000212) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:48:18', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:48:18') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000205) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000400) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000309) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000279) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000149) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000266) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000180) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:48:18', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:48:18') Preference Load (0.000404) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000232) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000224) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000160) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000165) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000162) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000164) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000484)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000238) select sqlite_version(*) SQL (0.000309) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000223) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000215)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000204) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000154) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000372) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000139) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000221) SELECT version FROM schema_migrations SQL (0.000252) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000285) SELECT version FROM schema_migrations SQL (0.000181) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000435)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000192) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000115) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000374) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000219) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000107) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000677)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000504) SELECT version FROM schema_migrations SQL (0.000400) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000642) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000325) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000389) SELECT version FROM schema_migrations User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.003210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:50:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:50:55') Preference Load (0.000464) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:50:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:50:55') Preference Load (0.000410) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:50:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:50:55') Preference Load (0.000461) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:50:55', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:50:55') Preference Load (0.000408) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000970) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000288) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000188) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000117) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000323) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000960) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000324) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000142) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000245) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000325) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000197) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:50:55', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:50:55') Preference Load (0.000412) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000248) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000195) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000161) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000167) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000162) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000168) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000460)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000319) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000232) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000226)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000212) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000154) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000099) SELECT version FROM schema_migrations SQL (0.000369) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000135) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000219) SELECT version FROM schema_migrations SQL (0.000298) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000121) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000286) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000456)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000112) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000357) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000229) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000676)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000414) SELECT version FROM schema_migrations SQL (0.000328) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000329) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000326) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000318) SELECT version FROM schema_migrations User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000288) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:07', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:07') Preference Load (0.001062) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000494) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:07', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:07') Preference Load (0.000402) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000218) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000296) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:07', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:07') Preference Load (0.000425) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000309) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000269) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:07', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:07') Preference Load (0.000455) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000163) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000205) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000143) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000242) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000237) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000166) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:07', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:53:07') Preference Load (0.000403) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.001151) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000196) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000175) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000161) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000202) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000457)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000230) select sqlite_version(*) SQL (0.000325) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000225) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000213)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000204) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000151) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000349) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000203) SELECT version FROM schema_migrations SQL (0.000304) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000262) SELECT version FROM schema_migrations SQL (0.000168) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000432)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000156) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000366) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000225) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000103) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000107) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000593)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000497) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations SQL (0.000317) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000330) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000341) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000347) SELECT version FROM schema_migrations User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000204) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:39', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:39') Preference Load (0.000441) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:39', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:39') Preference Load (0.000405) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000268) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:40') Preference Load (0.000436) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000306) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000264) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:40') Preference Load (0.000506) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000278) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000167) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000254) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000204) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:40', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:53:40') Preference Load (0.000449) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000254) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000201) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000175) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000158) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000464)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000238) select sqlite_version(*) SQL (0.000307) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000218) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000208)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000201) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000143) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000371) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000213) SELECT version FROM schema_migrations SQL (0.000538) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000120) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000284) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000446)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000165) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000331) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000219) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000103) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000977) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000587)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000404) SELECT version FROM schema_migrations SQL (0.000339) SELECT version FROM schema_migrations SQL (0.000340) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000322) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000320) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000321) SELECT version FROM schema_migrations User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000222) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:54') Preference Load (0.000484) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:54') Preference Load (0.000396) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000203) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000333) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:54') Preference Load (0.000421) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000185) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:54', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:53:54') Preference Load (0.000422) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000303) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000137) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000285) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000178) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:53:54', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:53:54') Preference Load (0.000409) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000248) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000208) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000174) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000185) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000162) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000552)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000244) select sqlite_version(*) SQL (0.000317) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000220) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000213)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000187) SELECT version FROM schema_migrations SQL (0.000095) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000385) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000124) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000211) SELECT version FROM schema_migrations SQL (0.000219) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000108) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000253) SELECT version FROM schema_migrations SQL (0.000173) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000459)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000166) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000373) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000628) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000126) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000112) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000120) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000605)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000446) SELECT version FROM schema_migrations SQL (0.000363) SELECT version FROM schema_migrations SQL (0.000422) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000317) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000316) SELECT version FROM schema_migrations User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000265) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:55:25', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:55:25') Preference Load (0.000468) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000339) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000169) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:55:25', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:55:25') Preference Load (0.000395) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.005383) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000212) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:55:25', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:55:25') Preference Load (0.000432) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000351) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000217) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:55:25', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:55:25') Preference Load (0.000434) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000347) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.002385) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000329) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000304) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000311) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000149) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000244) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000156) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000235) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000170) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:55:25', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:55:25') Preference Load (0.000415) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000238) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000209) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000176) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000169) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000208) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000168) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000458)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000234) select sqlite_version(*) SQL (0.000307) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000239) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000214)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000203) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000151) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000442) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000126) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000229) SELECT version FROM schema_migrations SQL (0.000224) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000170) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001061)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000216) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000329) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000220) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000126) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000664)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000436) SELECT version FROM schema_migrations SQL (0.000337) SELECT version FROM schema_migrations SQL (0.000437) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000351) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000325) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000327) SELECT version FROM schema_migrations User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000205) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:57:16') Preference Load (0.000409) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000167) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:57:16') Preference Load (0.000695) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000303) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.022226) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:57:16') Preference Load (0.000426) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000233) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:57:16') Preference Load (0.000401) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000793) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000296) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000154) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000249) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:16', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:57:16') Preference Load (0.000417) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000263) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000196) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000202) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000295) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000180) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000450)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000222) select sqlite_version(*) SQL (0.000306) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000221) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000211)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000210) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000965) SELECT version FROM schema_migrations SQL (0.000099) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000364) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000222) SELECT version FROM schema_migrations SQL (0.000233) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000165) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000441)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000178) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000104) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000401) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000251) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000105) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000108) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000590)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000401) SELECT version FROM schema_migrations SQL (0.000327) SELECT version FROM schema_migrations SQL (0.000317) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000328) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000324) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000327) SELECT version FROM schema_migrations User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000232) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:57:43') Preference Load (0.000440) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:57:43') Preference Load (0.000395) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000384) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000174) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:57:43') Preference Load (0.000395) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.001176) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000204) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000333) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:57:43') Preference Load (0.000418) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000224) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000291) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000170) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000248) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000368) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:57:43', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:57:43') Preference Load (0.000425) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000299) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000501) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000171) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000170) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000171) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.001263)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000318) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000224) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000290)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000207) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000098) SELECT version FROM schema_migrations SQL (0.000096) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000107) SELECT version FROM schema_migrations SQL (0.001418) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000197) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000311) SELECT version FROM schema_migrations SQL (0.000328) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000170) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000388) SELECT version FROM schema_migrations SQL (0.000680) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000448)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000163) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001213) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000222) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.001120)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000412) SELECT version FROM schema_migrations SQL (0.000319) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000316) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000316) SELECT version FROM schema_migrations User Create (0.000209) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000344) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000231) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:58:27') Preference Load (0.000499) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000177) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000357) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:58:27') Preference Load (0.000435) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000710) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:58:27') Preference Load (0.000495) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000324) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:58:27') Preference Load (0.000408) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000193) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000314) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000116) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000347) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000137) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000240) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000184) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000196) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:27', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:58:27') Preference Load (0.000414) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000246) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  Preference Load (0.000196) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Load (0.000163) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 Preference Load (0.000156) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 Preference Load (0.000477) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 Preference Load (0.000181) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 SQL (0.000456)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000232) select sqlite_version(*) SQL (0.000334) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000627) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000231)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000209) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000162) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000365) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000129) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000251) SELECT version FROM schema_migrations SQL (0.000238) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000119) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000270) SELECT version FROM schema_migrations SQL (0.000176) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.001556)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000150) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000341) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000233) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000113) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000107) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000592)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000527) SELECT version FROM schema_migrations SQL (0.000387) SELECT version FROM schema_migrations SQL (0.000588) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000408) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000588) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000391) SELECT version FROM schema_migrations User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000823) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:51', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:58:51') Preference Load (0.000505) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000341) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:51', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:58:51') Preference Load (0.000419) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000285) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:51', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:58:51') Preference Load (0.001011) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000338) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000209) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000532) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000203) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:51', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:58:51') Preference Load (0.001063) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000280) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000153) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000255) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000180) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000196) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:58:51', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:58:51') Preference Load (0.000453) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000247) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000283) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000181) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000170) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000160) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000161) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000207) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000459)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000227) select sqlite_version(*) SQL (0.000307) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000231) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000303)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000216) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000148) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000367) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000135) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000207) SELECT version FROM schema_migrations SQL (0.000228) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000144) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000613) SELECT version FROM schema_migrations SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000425)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000159) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000333) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000219) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000111) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000107) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000267) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000566)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000395) SELECT version FROM schema_migrations SQL (0.000405) SELECT version FROM schema_migrations SQL (0.000310) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000313) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000686) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000316) SELECT version FROM schema_migrations User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000219) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:59:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:59:32') Preference Load (0.000484) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000204) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:59:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:59:32') Preference Load (0.000453) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000220) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000496) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000226) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:59:32', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:59:32') Preference Load (0.000530) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000610) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000236) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000336) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:59:33', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 20:59:33') Preference Load (0.000673) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.047746) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000378) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000302) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000161) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000262) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 20:59:33', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 20:59:33') Preference Load (0.000410) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000256) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000292) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000181) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000191) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000334) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000540) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000267) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000173) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000493) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000218) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000238) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000303) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000459)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000249) select sqlite_version(*) SQL (0.000306) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000733) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000270)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000221) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000156) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000862) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000130) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000216) SELECT version FROM schema_migrations SQL (0.000229) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000264) SELECT version FROM schema_migrations SQL (0.000176) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000445)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000141) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000097) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000364) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000268) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000111) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000108) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000615)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000414) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000337) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000323) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000316) SELECT version FROM schema_migrations User Create (0.000213) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000344) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000219) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:00:26', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:00:26') Preference Load (0.000423) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000207) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:00:26', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:00:26') Preference Load (0.000438) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:00:26', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:00:26') Preference Load (0.000429) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000180) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000362) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000264) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:00:26', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:00:26') Preference Load (0.000440) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000813) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000207) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000364) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000141) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000249) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000220) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:00:26', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:00:26') Preference Load (0.000412) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000238) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000586) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000174) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000161) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000222) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000180) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000117) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000299) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000200) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000175) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000530) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000466)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000244) select sqlite_version(*) SQL (0.000314) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000219) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000212)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000634) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000147) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000089) SELECT version FROM schema_migrations SQL (0.000358) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000127) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000217) SELECT version FROM schema_migrations SQL (0.000244) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000792) SELECT version FROM schema_migrations SQL (0.000457) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000440)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000346) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000218) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000200) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.016490)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000418) SELECT version FROM schema_migrations SQL (0.000334) SELECT version FROM schema_migrations SQL (0.000317) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000320) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000324) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000318) SELECT version FROM schema_migrations User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000224) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:01:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:01:40') Preference Load (0.000415) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000171) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:01:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:01:40') Preference Load (0.001141) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000209) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:01:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:01:40') Preference Load (0.000500) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000180) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:01:40', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:01:40') Preference Load (0.000408) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000173) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000309) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000143) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000259) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000199) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:01:40', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:01:40') Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000244) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000292) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000168) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000202) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000171) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000199) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000189) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000160) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000116) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000144) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000118) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000128) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000115) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000172) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000235) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000220) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000116) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000280) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000219) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000457)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000240) select sqlite_version(*) SQL (0.000311) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000222) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000208)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000203) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000154) SELECT version FROM schema_migrations SQL (0.000096) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000347) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000236) SELECT version FROM schema_migrations SQL (0.000251) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000263) SELECT version FROM schema_migrations SQL (0.000167) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000428)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000174) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000331) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000215) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000114) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000586)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000521) SELECT version FROM schema_migrations SQL (0.000354) SELECT version FROM schema_migrations SQL (0.000335) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000341) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000387) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000331) SELECT version FROM schema_migrations User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000240) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000211) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:02:18', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:02:18') Preference Load (0.000432) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001419) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:02:18', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:02:18') Preference Load (0.000481) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000403) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:02:18', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:02:18') Preference Load (0.000491) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.001149) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000233) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:02:18', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:02:18') Preference Load (0.000516) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000283) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000342) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000321) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000408) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000298) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000142) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000251) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000223) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:02:18', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:02:18') Preference Load (0.000706) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000301) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000373) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000303) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000190) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000239) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000175) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000172) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000444) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000178) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000616) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000357) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:02:18', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:02:18') SQL (0.000431) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000135) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000310) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:02:18', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:02:18') User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000128) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000200) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000169) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:02:18', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:02:18') User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000179) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000211) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000179) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000190) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000231) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000185) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000225) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000195) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000459)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000239) select sqlite_version(*) SQL (0.000342) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000236) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000229)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000249) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000152) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000369) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000123) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000214) SELECT version FROM schema_migrations SQL (0.000221) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000261) SELECT version FROM schema_migrations SQL (0.000240) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000455)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000162) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000358) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000225) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000105) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000597)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000423) SELECT version FROM schema_migrations SQL (0.000322) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000325) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000328) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000325) SELECT version FROM schema_migrations User Create (0.000225) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:09', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:03:09') Preference Load (0.003252) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000185) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:09', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:03:09') Preference Load (0.000482) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000440) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000222) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:09', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:03:09') Preference Load (0.000475) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.001230) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000198) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000397) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000213) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:09', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:03:09') Preference Load (0.000440) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000141) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000238) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000177) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000180) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:09', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:03:09') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000235) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000287) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000171) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Load (0.000170) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 Preference Load (0.000163) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 Preference Load (0.000177) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 Preference Load (0.000163) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000178) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000200) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000174) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:09', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:03:09') SQL (0.000279) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000115) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000124) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000168) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000199) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:09', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:03:09') User Update (0.000129) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000484) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000186) UPDATE "preferences" SET "created_at" = '2008-05-10 21:03:09', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:03:09' WHERE "id" = 1 User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000235) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000122) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000172) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:09', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:03:09') User Update (0.000132) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000784) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000198) UPDATE "preferences" SET "created_at" = '2008-05-10 21:03:09', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:03:09' WHERE "id" = 1 User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000226) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000118) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000171) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000172) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000179) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000317) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000214) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 SQL (0.000234) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000520) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000569) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000191) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 SQL (0.000474)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000230) select sqlite_version(*) SQL (0.000312) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000220) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000214)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000215) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000146) SELECT version FROM schema_migrations SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000089) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000352) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000124) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000217) SELECT version FROM schema_migrations SQL (0.000246) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000276) SELECT version FROM schema_migrations SQL (0.000171) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000503)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000166) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000105) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000339) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000216) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000106) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000583)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000391) SELECT version FROM schema_migrations SQL (0.000332) SELECT version FROM schema_migrations SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000318) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000312) SELECT version FROM schema_migrations User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:57', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:03:57') Preference Load (0.000434) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000294) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000223) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:57', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:03:57') Preference Load (0.000417) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000189) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:57', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:03:57') Preference Load (0.000412) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000243) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:57', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:03:57') Preference Load (0.000496) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000714) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000186) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000285) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000328) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000382) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000154) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000260) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000212) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:57', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:03:57') Preference Load (0.000419) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000238) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000327) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000319) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000191) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 Preference Load (0.000277) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 Preference Load (0.000179) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 Preference Load (0.000177) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000303) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000150) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000189) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000178) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:58', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:03:58') SQL (0.000263) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000133) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000179) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000165) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:58', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:03:58') User Update (0.000122) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000448) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000239) UPDATE "preferences" SET "created_at" = '2008-05-10 21:03:58', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:03:58' WHERE "id" = 1 User Load (0.000283) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000257) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000151) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000227) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:58', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:03:58') User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000543) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000187) UPDATE "preferences" SET "created_at" = '2008-05-10 21:03:58', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:03:58' WHERE "id" = 1 User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000237) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000136) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000175) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:03:58', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:03:58') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000283) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000214) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000198) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 User Create (0.000180) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000618) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000633) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000220) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 SQL (0.000233) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 SQL (0.000452)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000231) select sqlite_version(*) SQL (0.000322) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000319) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000243)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000221) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000145) SELECT version FROM schema_migrations SQL (0.000096) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000095) SELECT version FROM schema_migrations SQL (0.000389) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000130) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000223) SELECT version FROM schema_migrations SQL (0.000232) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000259) SELECT version FROM schema_migrations SQL (0.000172) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000434)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000160) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000112) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000336) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000242) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000101) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000105) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000580)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000405) SELECT version FROM schema_migrations SQL (0.000328) SELECT version FROM schema_migrations SQL (0.000323) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000316) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000312) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000314) SELECT version FROM schema_migrations User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000234) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:04:43') Preference Load (0.000488) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000306) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000197) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:04:43') Preference Load (0.000409) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000226) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:04:43') Preference Load (0.000487) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000326) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000179) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000614) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000191) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:04:43') Preference Load (0.000411) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000118) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000122) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000283) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000147) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000256) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000234) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000161) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:04:43') Preference Load (0.000526) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000245) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000287) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000175) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Load (0.000163) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 Preference Load (0.000160) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 Preference Load (0.000200) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 Preference Load (0.000232) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000138) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000171) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000168) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:04:43') SQL (0.000267) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000136) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000174) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000170) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:04:43') User Update (0.000116) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000462) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000179) UPDATE "preferences" SET "created_at" = '2008-05-10 21:04:43', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:04:43' WHERE "id" = 1 User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000447) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 SQL (0.000319) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000225) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000131) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000170) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000161) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:04:43') User Update (0.000126) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000489) UPDATE "preferences" SET "created_at" = '2008-05-10 21:04:43', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:04:43' WHERE "id" = 1 User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000249) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000315) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000142) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000208) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000176) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:04:43') User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000168) UPDATE "preferences" SET "created_at" = '2008-05-10 21:04:43', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:04:43' WHERE "id" = 1 User Load (0.000310) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000659) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000137) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000169) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000161) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:04:43', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:04:43') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000452) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000181) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 User Create (0.000115) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000177) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000169) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000180) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 SQL (0.000216) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000440) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000170) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 SQL (0.000529)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) select sqlite_version(*) SQL (0.000379) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000224) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000210)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000203) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000097) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000092) SELECT version FROM schema_migrations SQL (0.000630) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000129) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000213) SELECT version FROM schema_migrations SQL (0.000241) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000273) SELECT version FROM schema_migrations SQL (0.000180) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000434)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000164) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000101) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000427) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000234) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000109) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000119) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000586)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000410) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations SQL (0.000316) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000321) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000324) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000322) SELECT version FROM schema_migrations User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000221) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:05:16') Preference Load (0.000419) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:05:16') Preference Load (0.000514) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:05:16') Preference Load (0.000415) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000253) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:05:16') Preference Load (0.000429) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.001119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000146) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000262) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000173) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:05:16') Preference Load (0.000417) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000232) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000315) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000166) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000167) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000160) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000161) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000144) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000166) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:05:16') User Update (0.000119) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000159) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:05:16') User Load (0.000279) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000522) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000253) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000126) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000170) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:05:16') SQL (0.000252) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000125) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000169) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000161) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:05:16') User Update (0.000154) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000473) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000192) UPDATE "preferences" SET "created_at" = '2008-05-10 21:05:16', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:05:16' WHERE "id" = 1 User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000440) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000240) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000125) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000171) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000159) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:05:16') User Update (0.000117) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000437) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000190) UPDATE "preferences" SET "created_at" = '2008-05-10 21:05:16', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:05:16' WHERE "id" = 1 User Load (0.000280) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000275) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000126) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000172) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000163) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:05:16') User Update (0.000118) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000442) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000239) UPDATE "preferences" SET "created_at" = '2008-05-10 21:05:16', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:05:16' WHERE "id" = 1 User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000232) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000395) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000162) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000180) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000158) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:05:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:05:16') User Load (0.000290) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000453) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000170) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.005560) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000229) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.011131) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000242) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000195) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000321) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000205) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000943) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000417) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.001135) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000250) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000229) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000449)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000222) select sqlite_version(*) SQL (0.000305) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000221) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000206)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000202) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000252) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000366) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000139) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000210) SELECT version FROM schema_migrations SQL (0.000396) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000117) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000171) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000479)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000212) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000117) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000411) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000268) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000103) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000107) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000207) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000568)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000400) SELECT version FROM schema_migrations SQL (0.000391) SELECT version FROM schema_migrations SQL (0.000329) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000311) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000320) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000331) SELECT version FROM schema_migrations User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000221) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:06:31') Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000290) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:06:31') Preference Load (0.000398) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000283) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000210) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:06:31') Preference Load (0.001612) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000210) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000335) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000514) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:06:31') Preference Load (0.000433) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000379) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000174) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000294) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000167) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000252) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000307) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:06:31') Preference Load (0.000410) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000235) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000291) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000208) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Load (0.000239) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 Preference Load (0.000190) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 Preference Load (0.000195) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 Preference Load (0.000190) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 Car Create (0.000136) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000256) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000264) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000211) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color')) LIMIT 1 Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:06:31') SQL (0.000268) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000279) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000129) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000193) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:06:31') User Update (0.000406) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000244) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 Preference Create (0.000186) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:06:31') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000449) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 SQL (0.000251) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000160) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000197) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000173) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:06:31') SQL (0.000244) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000125) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000167) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:06:31') User Update (0.000122) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000458) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000195) UPDATE "preferences" SET "created_at" = '2008-05-10 21:06:31', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:06:31' WHERE "id" = 1 User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 SQL (0.000243) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000177) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000339) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000171) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000240) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:06:31') User Update (0.000136) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000489) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000418) UPDATE "preferences" SET "created_at" = '2008-05-10 21:06:31', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:06:31' WHERE "id" = 1 User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000326) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000140) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000200) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000199) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:06:31') User Update (0.000135) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000614) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Update (0.000205) UPDATE "preferences" SET "created_at" = '2008-05-10 21:06:31', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:06:31' WHERE "id" = 1 User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000281) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.001141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000134) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 Preference Create (0.000185) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:06:31', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:06:31') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.001342) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 User Create (0.000171) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000323) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000219) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 User Create (0.000197) INSERT INTO "users" ("login") VALUES('admin') User Load (0.001174) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000303) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car')) LIMIT 1 User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000216) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color')) LIMIT 1 User Create (0.000246) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000249) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa')) LIMIT 1 User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000547) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000200) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language')) LIMIT 1 SQL (0.000237) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000295) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000267) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate')) LIMIT 1 SQL (0.000478)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000287) select sqlite_version(*) SQL (0.000471) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000262) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000242)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.001170) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000179) SELECT version FROM schema_migrations SQL (0.000097) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000097) SELECT version FROM schema_migrations SQL (0.000531) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000162) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000351) SELECT version FROM schema_migrations SQL (0.000284) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000168) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.001459) SELECT version FROM schema_migrations SQL (0.000187) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000449)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000164) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000107) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000356) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000268) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000109) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000111) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000115) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000576)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000416) SELECT version FROM schema_migrations SQL (0.000329) SELECT version FROM schema_migrations SQL (0.000326) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000786) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000350) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000328) SELECT version FROM schema_migrations User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000224) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:07:24') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000277) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:07:24') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000206) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000366) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000261) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:07:24') Preference Load (0.000423) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000222) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:07:24') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000285) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000180) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000306) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000331) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000150) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000242) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000237) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000196) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:07:24') Preference Load (0.000427) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000255) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000294) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000169) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000171) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000177) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000176) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Car Create (0.000151) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000270) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000148) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000180) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Preference Create (0.000220) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:07:24') Preference Load (0.000526) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Car Create (0.000144) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000274) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000131) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000185) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:07:24') SQL (0.000288) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000133) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000251) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000238) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000126) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Preference Create (0.000233) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:07:24') Preference Load (0.000189) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000133) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000179) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000170) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:07:24') User Update (0.000119) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000189) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.001019) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:07:24') User Load (0.000280) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000457) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000254) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000131) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000192) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000172) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:07:24') SQL (0.000255) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000133) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000209) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000172) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:07:24') User Update (0.000125) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000446) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000206) UPDATE "preferences" SET "created_at" = '2008-05-10 21:07:24', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:07:24' WHERE "id" = 1 User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000453) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000253) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000173) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:07:24') User Update (0.000119) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.001977) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000219) UPDATE "preferences" SET "created_at" = '2008-05-10 21:07:24', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:07:24' WHERE "id" = 1 User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000294) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:07:24') User Update (0.000131) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000462) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000197) UPDATE "preferences" SET "created_at" = '2008-05-10 21:07:24', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:07:24' WHERE "id" = 1 User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000237) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000138) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:07:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:07:24') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000453) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000298) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000181) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000190) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000237) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000463)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000259) select sqlite_version(*) SQL (0.000349) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000225) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000234)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000214) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000153) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000097) SELECT version FROM schema_migrations SQL (0.000354) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000135) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000222) SELECT version FROM schema_migrations SQL (0.000224) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000111) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000168) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000435)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000170) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000439) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000222) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000135) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000111) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000192) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000656)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000406) SELECT version FROM schema_migrations SQL (0.000344) SELECT version FROM schema_migrations SQL (0.000318) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000317) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000328) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000338) SELECT version FROM schema_migrations User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000296) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000302) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:08:27') Preference Load (0.000512) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.001043) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000545) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:08:27') Preference Load (0.000418) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000281) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000800) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000215) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:08:27') Preference Load (0.000450) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000237) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000308) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000181) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:08:27') Preference Load (0.000405) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000173) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000313) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000517) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000125) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000162) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000259) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000186) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:08:27') Preference Load (0.000421) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000241) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000277) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000162) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000157) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000158) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Load (0.000156) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Car Create (0.000140) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000270) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000171) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000329) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000164) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Preference Create (0.000173) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:08:27') Preference Load (0.000509) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Car Create (0.000154) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000262) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000124) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Preference Create (0.000175) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:08:27') SQL (0.000252) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000123) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000244) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000236) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000119) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000181) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Preference Create (0.000168) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:08:27') User Update (0.000135) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000463) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Preference Update (0.000202) UPDATE "preferences" SET "created_at" = '2008-05-10 21:08:27', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = 1, "attribute" = 'color', "value" = 'blue', "preferenced_type" = 'Car', "updated_at" = '2008-05-10 21:08:27' WHERE "id" = 1 User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000434) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 SQL (0.000319) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000120) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000243) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000120) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000121) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000176) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1 AND "preferences"."preferenced_type" = 'Car')) LIMIT 1 Preference Create (0.000630) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:08:27') Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000114) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000279) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000134) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000175) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:08:27') User Update (0.000126) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000158) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:08:27') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000435) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000233) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000181) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000242) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000122) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000172) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000375) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:08:27') SQL (0.000255) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000115) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000167) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000191) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:08:27') User Update (0.000129) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000457) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000183) UPDATE "preferences" SET "created_at" = '2008-05-10 21:08:27', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:08:27' WHERE "id" = 1 User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000269) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000126) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000193) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:08:27') User Update (0.000125) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.001031) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000218) UPDATE "preferences" SET "created_at" = '2008-05-10 21:08:27', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:08:27' WHERE "id" = 1 User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000424) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000140) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000201) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000183) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:08:27') User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000486) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Update (0.000201) UPDATE "preferences" SET "created_at" = '2008-05-10 21:08:27', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:08:27' WHERE "id" = 1 User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000246) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000140) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 Preference Create (0.000192) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:08:27', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:08:27') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000441) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000283) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000205) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000320) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000194) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000240) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000198) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL AND "preferences"."preferenced_type" IS NULL)) LIMIT 1 SQL (0.000458)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000240) select sqlite_version(*) SQL (0.000310) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000222) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000208)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000208) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000359) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000129) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000209) SELECT version FROM schema_migrations SQL (0.000547) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000125) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000749) SELECT version FROM schema_migrations SQL (0.000177) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000442)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000147) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000356) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000299) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000111) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000115) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000689)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000468) SELECT version FROM schema_migrations SQL (0.000397) SELECT version FROM schema_migrations SQL (0.000345) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000314) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000316) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000315) SELECT version FROM schema_migrations User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000246) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.006188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:09:42') Preference Load (0.000452) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000199) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:09:42') Preference Load (0.000540) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000245) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:09:42') Preference Load (0.000470) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000285) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000279) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000229) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:09:42') Preference Load (0.000462) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000307) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000268) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000214) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000311) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000171) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000264) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.001700) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:09:42') Preference Load (0.000738) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000327) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000629) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000320) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000204) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000176) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000189) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000189) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Car Create (0.000151) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000810) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000157) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000221) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000192) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:09:42') Car Create (0.000144) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000252) SELECT * FROM "cars" WHERE ("cars"."id" = 2)  User Update (0.000129) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000203) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 2)) LIMIT 1 Preference Create (0.000000) SQLite3::SQLException: SQL logic error or missing database: INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', 1, 'blue', 1, 'Car', 'color', 'User', '2008-05-10 21:09:42') Car Create (0.000131) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000279) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000176) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000146) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000222) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:09:42') Preference Load (0.000535) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Car Create (0.000131) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000244) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000126) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000196) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:09:42') SQL (0.000714) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000146) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000248) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000187) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000210) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000239) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:09:42') User Update (0.000151) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000515) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Update (0.000224) UPDATE "preferences" SET "created_at" = '2008-05-10 21:09:42', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = 1, "attribute" = 'color', "value" = 'blue', "preferenced_type" = 'Car', "updated_at" = '2008-05-10 21:09:42' WHERE "id" = 1 User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000455) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 SQL (0.000249) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000130) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000258) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000165) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000202) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:09:42') Preference Load (0.000194) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000138) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000547) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000184) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000214) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000216) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:09:42') User Update (0.000186) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000177) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:09:42') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000920) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000261) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000139) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000187) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:09:42') SQL (0.000267) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000139) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:09:42') User Update (0.000124) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000476) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000382) UPDATE "preferences" SET "created_at" = '2008-05-10 21:09:42', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:09:42' WHERE "id" = 1 User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000503) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.001938) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000294) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000150) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000211) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000809) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:09:42') User Update (0.000154) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.002511) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000279) UPDATE "preferences" SET "created_at" = '2008-05-10 21:09:42', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:09:42' WHERE "id" = 1 User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000243) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000452) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000316) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000132) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000202) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000191) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:09:42') User Update (0.000155) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000482) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000204) UPDATE "preferences" SET "created_at" = '2008-05-10 21:09:42', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:09:42' WHERE "id" = 1 User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000232) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000178) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000203) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:09:42', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:09:42') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000743) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000196) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000222) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000180) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000214) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000291) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000282) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000233) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000228) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.016259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000195) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000461)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000236) select sqlite_version(*) SQL (0.000323) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000228) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000528)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000235) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000151) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000360) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000125) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000214) SELECT version FROM schema_migrations SQL (0.000233) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000109) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000266) SELECT version FROM schema_migrations SQL (0.000171) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000707)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000148) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000183) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000328) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000313) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000102) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000110) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000108) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000705)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000392) SELECT version FROM schema_migrations SQL (0.000339) SELECT version FROM schema_migrations SQL (0.000308) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000333) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000402) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000312) SELECT version FROM schema_migrations User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000229) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:23', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:11:23') Preference Load (0.000467) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000344) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:23', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:11:23') Preference Load (0.000423) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000172) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000333) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000269) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:23', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:11:23') Preference Load (0.000438) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000558) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000225) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:23', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:11:23') Preference Load (0.000443) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000267) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000405) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000269) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000158) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000394) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000170) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000141) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000245) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000198) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:11:24') Preference Load (0.000406) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000247) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000285) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000194) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000234) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000194) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000185) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000167) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Car Create (0.000134) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000318) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000148) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000198) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000180) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:24') Car Create (0.000120) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000276) SELECT * FROM "cars" WHERE ("cars"."id" = 2)  User Update (0.000152) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000192) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 2)) LIMIT 1 Preference Create (0.000000) SQLite3::SQLException: SQL logic error or missing database: INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', 1, 'blue', 1, 'Car', 'color', 'User', '2008-05-10 21:11:24') Car Create (0.000260) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000342) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000161) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000140) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000211) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000215) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:24') Preference Load (0.000836) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Car Create (0.000703) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000490) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000212) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000419) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000319) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000985) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000216) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:24') SQL (0.000303) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000154) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000467) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000326) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000146) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000263) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000242) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:24') User Update (0.000426) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.001898) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Update (0.000248) UPDATE "preferences" SET "created_at" = '2008-05-10 21:11:24', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = 1, "attribute" = 'color', "value" = 'blue', "preferenced_type" = 'Car', "updated_at" = '2008-05-10 21:11:24' WHERE "id" = 1 User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000469) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 SQL (0.000235) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000129) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000244) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000155) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000200) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000234) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:24') Preference Load (0.000238) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000164) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000977) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000152) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000219) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000201) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:11:24') User Update (0.000773) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000259) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000241) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:11:24') User Load (0.000324) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000468) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.001789) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000268) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000389) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000141) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000194) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000211) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:11:24') SQL (0.000296) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000142) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000216) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000264) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:11:24') User Update (0.000945) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000553) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000962) UPDATE "preferences" SET "created_at" = '2008-05-10 21:11:24', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:11:24' WHERE "id" = 1 User Load (0.000387) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000589) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000259) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000154) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000544) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000172) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000206) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000207) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:11:24') User Update (0.000323) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000596) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.001714) UPDATE "preferences" SET "created_at" = '2008-05-10 21:11:24', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:11:24' WHERE "id" = 1 User Load (0.000407) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000340) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000183) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000133) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000199) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:11:24') User Update (0.000137) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000485) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000183) UPDATE "preferences" SET "created_at" = '2008-05-10 21:11:24', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:11:24' WHERE "id" = 1 User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000234) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000189) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:24', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:11:24') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000451) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000214) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000240) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000195) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000191) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000451)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000227) select sqlite_version(*) SQL (0.000305) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000230) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000212)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000204) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000088) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000090) SELECT version FROM schema_migrations SQL (0.000350) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000125) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000207) SELECT version FROM schema_migrations SQL (0.000236) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000268) SELECT version FROM schema_migrations SQL (0.000452) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000434)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000202) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000117) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000456) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000290) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000167) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000117) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000116) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000600)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000463) SELECT version FROM schema_migrations SQL (0.000372) SELECT version FROM schema_migrations SQL (0.000387) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.001453) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000404) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000342) SELECT version FROM schema_migrations User Create (0.000155) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000321) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:11:52') Preference Load (0.000425) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:11:52') Preference Load (0.000506) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000214) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:11:52') Preference Load (0.000451) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000227) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:11:52') Preference Load (0.000415) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000261) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000121) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000379) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000307) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000142) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000158) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000252) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000186) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:11:52') Preference Load (0.000427) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000286) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000386) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000192) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000195) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000181) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Car Create (0.000146) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000259) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000151) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000289) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:52') Car Create (0.000138) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000294) SELECT * FROM "cars" WHERE ("cars"."id" = 2)  User Update (0.000160) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000207) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 2)) LIMIT 1 Preference Create (0.000325) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', 2, 'blue', 1, 'Car', 'color', 'User', '2008-05-10 21:11:52') User Load (0.000304) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000468) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Load (0.005029) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 2)) LIMIT 1 SQL (0.000352) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000166) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000281) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000154) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000198) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000278) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:52') Preference Load (0.001076) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Car Create (0.000158) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000259) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000789) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000304) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000193) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000666) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000220) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:52') SQL (0.000304) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000163) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000266) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000329) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000130) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.001207) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000204) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:52') User Update (0.000151) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000478) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Update (0.000228) UPDATE "preferences" SET "created_at" = '2008-05-10 21:11:52', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = 1, "attribute" = 'color', "value" = 'blue', "preferenced_type" = 'Car', "updated_at" = '2008-05-10 21:11:52' WHERE "id" = 1 User Load (0.000275) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000446) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 SQL (0.000249) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000129) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000272) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:11:52', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:11:52') Preference Load (0.000273) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000329) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000136) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000128) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000119) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000141) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000132) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000598) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000277) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000123) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000128) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000367) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000245) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000181) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000433) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000205) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000480) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000160) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000761) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000866) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000266) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000297) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000191) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000453)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000225) select sqlite_version(*) SQL (0.000309) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000221) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000207)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000207) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000146) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000090) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000345) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000122) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000215) SELECT version FROM schema_migrations SQL (0.000235) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000110) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000275) SELECT version FROM schema_migrations SQL (0.000165) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000429)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000165) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000108) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000333) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000214) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000099) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000149) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000113) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000589)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000443) SELECT version FROM schema_migrations SQL (0.000335) SELECT version FROM schema_migrations SQL (0.000325) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000332) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000337) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000440) SELECT version FROM schema_migrations User Create (0.000165) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000212) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:12:16') Preference Load (0.000403) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000159) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000307) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000229) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:12:16') Preference Load (0.000490) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000179) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000179) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:12:16') Preference Load (0.000535) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000282) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:12:16') Preference Load (0.000484) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000266) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000273) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000144) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000290) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000285) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000162) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000292) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000185) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000139) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000364) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000152) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000247) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000202) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:12:16') Preference Load (0.000420) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000255) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000283) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000197) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000197) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000176) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000174) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Car Create (0.000140) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000268) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000141) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000146) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000207) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000204) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:12:16') Car Create (0.000191) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000297) SELECT * FROM "cars" WHERE ("cars"."id" = 2)  User Update (0.000139) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000198) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 2)) LIMIT 1 Preference Create (0.000188) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', 2, 'blue', 1, 'Car', 'color', 'User', '2008-05-10 21:12:16') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000468) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Load (0.000454) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 2)) LIMIT 1 SQL (0.000231) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000130) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000267) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000358) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000140) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000189) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000244) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:12:16') Preference Load (0.000486) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Car Create (0.000172) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000319) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000201) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000328) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000160) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000196) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:12:16') SQL (0.000272) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000133) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000255) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000134) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000195) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000275) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:12:16') User Update (0.000214) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000639) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Update (0.000267) UPDATE "preferences" SET "created_at" = '2008-05-10 21:12:16', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = 1, "attribute" = 'color', "value" = 'blue', "preferenced_type" = 'Car', "updated_at" = '2008-05-10 21:12:16' WHERE "id" = 1 User Load (0.000316) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000534) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 SQL (0.000272) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000159) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000259) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000124) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000243) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000120) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000218) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:12:16') Preference Load (0.000193) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000140) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000137) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000191) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000203) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:12:16') User Update (0.000130) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000298) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000198) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:12:16') User Load (0.000271) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000507) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000249) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000157) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000290) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000148) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000183) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:12:16') SQL (0.000268) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000134) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000252) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000221) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:12:16') User Update (0.000136) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000457) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000425) UPDATE "preferences" SET "created_at" = '2008-05-10 21:12:16', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:12:16' WHERE "id" = 1 User Load (0.000287) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000622) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000251) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000167) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000131) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000225) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000190) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:12:16') User Update (0.000140) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000452) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000186) UPDATE "preferences" SET "created_at" = '2008-05-10 21:12:16', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:12:16' WHERE "id" = 1 User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000315) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000373) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000128) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000261) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000204) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:12:16') User Update (0.000162) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000488) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000189) UPDATE "preferences" SET "created_at" = '2008-05-10 21:12:16', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:12:16' WHERE "id" = 1 User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000229) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000128) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000505) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000153) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000208) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000171) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:12:16', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:12:16') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000168) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000278) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000204) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000258) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000203) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000127) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000166) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000272) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000229) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000191) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000229) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000152) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000274) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000496)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000228) select sqlite_version(*) SQL (0.000308) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  SQL (0.000305) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") SQL (0.000493)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000287) CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000149) SELECT version FROM schema_migrations SQL (0.000093) SELECT version FROM schema_migrations SQL (0.000091) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000091) SELECT version FROM schema_migrations SQL (0.000357) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL)  SQL (0.000128) INSERT INTO schema_migrations (version) VALUES ('1') Migrating to CreateCars (2) SQL (0.000211) SELECT version FROM schema_migrations SQL (0.000235) CREATE TABLE "cars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)  SQL (0.000112) INSERT INTO schema_migrations (version) VALUES ('2') Migrating to MigratePreferencesToVersion1 (3) SQL (0.000274) SELECT version FROM schema_migrations SQL (0.000162) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000426)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000162) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' Migrating to CreatePreferences (1) SQL (0.000133) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000343) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "preferenced_id" integer DEFAULT NULL NULL, "preferenced_type" varchar(255) DEFAULT NULL NULL, "value" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  SQL (0.000222) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "preferenced_id", "preferenced_type") SQL (0.000100) SELECT version FROM plugin_schema_info WHERE plugin_name = 'preferences' SQL (0.000104) INSERT INTO plugin_schema_info (version, plugin_name) VALUES (1, 'preferences') SQL (0.000322) INSERT INTO schema_migrations (version) VALUES ('3') SQL (0.000732)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  SQL (0.000000) SQLite3::SQLException: table plugin_schema_info already exists: CREATE TABLE plugin_schema_info (plugin_name varchar(255), version integer) SQL (0.000398) SELECT version FROM schema_migrations SQL (0.000344) SELECT version FROM schema_migrations SQL (0.000315) SELECT version FROM schema_migrations Migrating to CreateUsers (1) SQL (0.000319) SELECT version FROM schema_migrations Migrating to CreateCars (2) SQL (0.000319) SELECT version FROM schema_migrations Migrating to MigratePreferencesToVersion1 (3) SQL (0.000454) SELECT version FROM schema_migrations User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000265) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000240) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:13:37') Preference Load (0.000412) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000212) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000192) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:13:37') Preference Load (0.000515) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.004951) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:13:37') Preference Load (0.004136) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Load (0.000288) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000321) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000329) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000279) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'f', 1, NULL, 'notifications', 'User', '2008-05-10 21:13:37') Preference Load (0.000540) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  User Create (0.000153) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000259) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000350) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000136) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000254) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000129) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000130) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000276) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000286) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000143) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000255) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Create (0.000135) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000252) SELECT * FROM "users" WHERE ("users"."id" = 1)  Car Create (0.000174) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000257) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000263) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Create (0.000187) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', 1, 'f', 1, 'Car', 'notifications', 'User', '2008-05-10 21:13:37') Preference Load (0.000413) SELECT * FROM "preferences" WHERE ("preferences"."id" = 1)  Car Load (0.000254) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000260) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000284) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Preference Load (0.000193) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000173) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000178) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000169) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Load (0.000169) SELECT * FROM "preferences" WHERE ("preferences".owner_id = NULL AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Car Create (0.000158) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000261) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000247) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000156) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000193) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000186) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:13:37') Car Create (0.000126) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000262) SELECT * FROM "cars" WHERE ("cars"."id" = 2)  User Update (0.000129) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 2)) LIMIT 1 Preference Create (0.000195) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', 2, 'blue', 1, 'Car', 'color', 'User', '2008-05-10 21:13:37') User Load (0.000284) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000553) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Load (0.000504) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 2)) LIMIT 1 SQL (0.000263) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000142) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000252) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000238) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000151) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000193) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000193) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:13:37') Preference Load (0.000494) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Car Create (0.000160) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000260) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000148) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000131) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000186) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000205) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:13:37') SQL (0.000270) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000123) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000248) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000132) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000239) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000143) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000194) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000182) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:13:37') User Update (0.000123) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000470) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Update (0.000215) UPDATE "preferences" SET "created_at" = '2008-05-10 21:13:37', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = 1, "attribute" = 'color', "value" = 'blue', "preferenced_type" = 'Car', "updated_at" = '2008-05-10 21:13:37' WHERE "id" = 1 User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000444) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 SQL (0.000238) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  Car Create (0.000135) INSERT INTO "cars" ("name") VALUES('Porsche') Car Load (0.000265) SELECT * FROM "cars" WHERE ("cars"."id" = 1)  User Create (0.000151) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000248) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000153) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000189) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" = 'Car' AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" = 1)) LIMIT 1 Preference Create (0.000217) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', 1, 'red', 1, 'Car', 'color', 'User', '2008-05-10 21:13:37') Preference Load (0.000188) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000150) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000130) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000204) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000239) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:13:37') User Update (0.000154) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000191) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000181) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'blue', 1, NULL, 'color', 'User', '2008-05-10 21:13:37') User Load (0.000321) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000515) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000256) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000145) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000281) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000184) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:13:37') SQL (0.000246) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000127) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000187) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000191) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:13:37') User Update (0.000133) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000461) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000870) UPDATE "preferences" SET "created_at" = '2008-05-10 21:13:37', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'Spanish', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:13:37' WHERE "id" = 1 User Load (0.000340) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000461) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000235) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000133) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000241) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000125) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000192) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000189) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:13:37') User Update (0.000133) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000461) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000222) UPDATE "preferences" SET "created_at" = '2008-05-10 21:13:37', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = 'English', "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:13:37' WHERE "id" = 1 User Load (0.000298) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000244) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000146) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000138) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000184) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000205) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:13:37') User Update (0.000126) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000453) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Update (0.000191) UPDATE "preferences" SET "created_at" = '2008-05-10 21:13:37', "owner_id" = 1, "owner_type" = 'User', "preferenced_id" = NULL, "attribute" = 'language', "value" = NULL, "preferenced_type" = NULL, "updated_at" = '2008-05-10 21:13:37' WHERE "id" = 1 User Load (0.000249) SELECT * FROM "users" WHERE ("users"."id" = 1)  SQL (0.000233) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000147) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000270) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Update (0.000137) UPDATE "users" SET "login" = 'admin' WHERE "id" = 1 Preference Load (0.000197) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 Preference Create (0.000209) INSERT INTO "preferences" ("updated_at", "preferenced_id", "value", "owner_id", "preferenced_type", "attribute", "owner_type", "created_at") VALUES('2008-05-10 21:13:37', NULL, 'Latin', 1, NULL, 'language', 'User', '2008-05-10 21:13:37') User Load (0.000264) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000465) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000149) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000256) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000200) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000131) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000253) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000199) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'car' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000137) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000251) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000223) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'color' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000262) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000182) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'hot_salsa' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 User Create (0.000134) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000257) SELECT * FROM "users" WHERE ("users"."id" = 1)  User Load (0.000250) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000195) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'language' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1 SQL (0.000244) SELECT count(*) AS count_all FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User')  User Create (0.000126) INSERT INTO "users" ("login") VALUES('admin') User Load (0.000244) SELECT * FROM "users" WHERE ("users"."id" = 1)  Preference Load (0.000195) SELECT * FROM "preferences" WHERE ("preferences".owner_id = 1 AND "preferences".owner_type = 'User' AND ("preferences"."preferenced_type" IS NULL AND "preferences"."attribute" = 'dark_chocolate' AND "preferences"."preferenced_id" IS NULL)) LIMIT 1